}
do {
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
- register unsigned int iobase = info->p_dev->resource[0]->start;
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+ unsigned int iobase = info->p_dev->resource[0]->start;
+#else
-+ register unsigned int iobase = info->p_dev->io.BasePort1;
++ unsigned int iobase = info->p_dev->io.BasePort1;
+#endif
- register unsigned int offset;
- register unsigned char command;
- register unsigned long ready_bit;
+ unsigned int offset;
+ unsigned char command;
+ unsigned long ready_bit;
@@ -378,7 +391,11 @@ static void bluecard_receive(bluecard_in
return;
}
do {
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
- register unsigned int iobase = info->p_dev->resource[0]->start;
+ unsigned int iobase = info->p_dev->resource[0]->start;
+#else
-+ register unsigned int iobase = info->p_dev->io.BasePort1;
++ unsigned int iobase = info->p_dev->io.BasePort1;
+#endif
register struct sk_buff *skb;
- register int len;
+ int len;
@@ -224,7 +228,11 @@ static void bt3c_receive(bt3c_info_t *in
return;
do {
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
- register unsigned int iobase = info->p_dev->resource[0]->start;
+ unsigned int iobase = info->p_dev->resource[0]->start;
+#else
-+ register unsigned int iobase = info->p_dev->io.BasePort1;
++ unsigned int iobase = info->p_dev->io.BasePort1;
+#endif
register struct sk_buff *skb;
- register int len;
+ int len;
@@ -181,7 +185,11 @@ static void btuart_receive(btuart_info_t
return;
do {
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
- register unsigned int iobase = info->p_dev->resource[0]->start;
+ unsigned int iobase = info->p_dev->resource[0]->start;
+#else
-+ register unsigned int iobase = info->p_dev->io.BasePort1;
++ unsigned int iobase = info->p_dev->io.BasePort1;
+#endif
register struct sk_buff *skb;
register int len;