patch-2.4.0-test3 linux/drivers/atm/horizon.c

Next file: linux/drivers/atm/idt77105.c
Previous file: linux/drivers/atm/fore200e.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/atm/horizon.c linux/drivers/atm/horizon.c
@@ -603,7 +603,8 @@
   
   // note: rounding the rate down means rounding 'p' up
   
-  const unsigned long br = test_bit (ultra, &dev->flags) ? BR_ULT : BR_HRZ;
+  const unsigned long br = test_bit (ultra, (hrz_flags *) &dev->flags) ?
+    BR_ULT : BR_HRZ;
   
   u32 div = CR_MIND;
   u32 pre;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)