patch-2.4.10 linux/drivers/isdn/hisax/hfc_pci.c
Next file: linux/drivers/isdn/hisax/hfc_sx.c
Previous file: linux/drivers/isdn/hisax/fsm.h
Back to the patch index
Back to the overall index
- Lines: 66
- Date:
Fri Sep 14 14:39:59 2001
- Orig file:
v2.4.9/linux/drivers/isdn/hisax/hfc_pci.c
- Orig date:
Sun Aug 12 13:27:59 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/isdn/hisax/hfc_pci.c linux/drivers/isdn/hisax/hfc_pci.c
@@ -84,7 +84,7 @@
void
release_io_hfcpci(struct IsdnCardState *cs)
{
- int flags;
+ long flags;
save_flags(flags);
cli();
@@ -299,7 +299,8 @@
u_char *ptr, *ptr1, new_f2;
struct sk_buff *skb;
struct IsdnCardState *cs = bcs->cs;
- int flags, total, maxlen, new_z2;
+ long flags;
+ int total, maxlen, new_z2;
z_type *zp;
save_flags(flags);
@@ -633,7 +634,8 @@
hfcpci_fill_fifo(struct BCState *bcs)
{
struct IsdnCardState *cs = bcs->cs;
- int flags, maxlen, fcnt;
+ long flags;
+ int maxlen, fcnt;
int count, new_z1;
bzfifo_type *bz;
u_char *bdata;
@@ -810,7 +812,7 @@
static int
hfcpci_auxcmd(struct IsdnCardState *cs, isdn_ctrl * ic)
{
- int flags;
+ long flags;
int i = *(unsigned int *) ic->parm.num;
if ((ic->arg == 98) &&
@@ -1160,7 +1162,7 @@
{
struct IsdnCardState *cs = (struct IsdnCardState *) st->l1.hardware;
struct sk_buff *skb = arg;
- int flags;
+ long flags;
switch (pr) {
case (PH_DATA | REQUEST):
@@ -1314,7 +1316,8 @@
mode_hfcpci(struct BCState *bcs, int mode, int bc)
{
struct IsdnCardState *cs = bcs->cs;
- int flags, fifo2;
+ long flags;
+ int fifo2;
if (cs->debug & L1_DEB_HSCX)
debugl1(cs, "HFCPCI bchannel mode %d bchan %d/%d",
@@ -1548,7 +1551,7 @@
static void
hfcpci_bh(struct IsdnCardState *cs)
{
- int flags;
+ long flags;
/* struct PStack *stptr;
*/
if (!cs)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)