diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-27 18:13:53 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-27 18:13:53 -0400 |
commit | aebb1153ac54ddbbd3d3f0481a193f4bf0ead53b (patch) | |
tree | 57425aa83c8bed5b41af7e3408024fe1f2fdded9 /drivers/net | |
parent | 022e7a12b6aa11a11de4d708fe8606c9a6734b37 (diff) | |
parent | a77c64c1a641950626181b4857abb701d8f38ccc (diff) |
Merge branch 'master' into upstream
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/3c509.c | 1 | ||||
-rw-r--r-- | drivers/net/3c59x.c | 1 | ||||
-rw-r--r-- | drivers/net/irda/irda-usb.c | 18 | ||||
-rw-r--r-- | drivers/net/irda/vlsi_ir.h | 2 | ||||
-rw-r--r-- | drivers/net/ne3210.c | 1 | ||||
-rw-r--r-- | drivers/net/stnic.c | 2 | ||||
-rw-r--r-- | drivers/net/tulip/de4x5.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/zd1201.c | 4 |
9 files changed, 16 insertions, 16 deletions
diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index 59c33925be62..b936373ab2a5 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c | |||
@@ -225,6 +225,7 @@ static struct eisa_device_id el3_eisa_ids[] = { | |||
225 | { "TCM5095" }, | 225 | { "TCM5095" }, |
226 | { "" } | 226 | { "" } |
227 | }; | 227 | }; |
228 | MODULE_DEVICE_TABLE(eisa, el3_eisa_ids); | ||
228 | 229 | ||
229 | static int el3_eisa_probe (struct device *device); | 230 | static int el3_eisa_probe (struct device *device); |
230 | 231 | ||
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index af301f09d674..df42e28cc80f 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -851,6 +851,7 @@ static struct eisa_device_id vortex_eisa_ids[] = { | |||
851 | { "TCM5970", CH_3C597 }, | 851 | { "TCM5970", CH_3C597 }, |
852 | { "" } | 852 | { "" } |
853 | }; | 853 | }; |
854 | MODULE_DEVICE_TABLE(eisa, vortex_eisa_ids); | ||
854 | 855 | ||
855 | static int vortex_eisa_probe(struct device *device); | 856 | static int vortex_eisa_probe(struct device *device); |
856 | static int vortex_eisa_remove(struct device *device); | 857 | static int vortex_eisa_remove(struct device *device); |
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c index 2a0d538b387f..383cef1f5999 100644 --- a/drivers/net/irda/irda-usb.c +++ b/drivers/net/irda/irda-usb.c | |||
@@ -671,10 +671,8 @@ static void irda_usb_net_timeout(struct net_device *netdev) | |||
671 | * Jean II */ | 671 | * Jean II */ |
672 | done = 1; | 672 | done = 1; |
673 | break; | 673 | break; |
674 | case -ECONNABORTED: /* -103 */ | 674 | case -ECONNRESET: |
675 | case -ECONNRESET: /* -104 */ | 675 | case -ENOENT: /* urb unlinked by us */ |
676 | case -ETIMEDOUT: /* -110 */ | ||
677 | case -ENOENT: /* -2 (urb unlinked by us) */ | ||
678 | default: /* ??? - Play safe */ | 676 | default: /* ??? - Play safe */ |
679 | urb->status = 0; | 677 | urb->status = 0; |
680 | netif_wake_queue(self->netdev); | 678 | netif_wake_queue(self->netdev); |
@@ -712,10 +710,8 @@ static void irda_usb_net_timeout(struct net_device *netdev) | |||
712 | * Jean II */ | 710 | * Jean II */ |
713 | done = 1; | 711 | done = 1; |
714 | break; | 712 | break; |
715 | case -ECONNABORTED: /* -103 */ | 713 | case -ECONNRESET: |
716 | case -ECONNRESET: /* -104 */ | 714 | case -ENOENT: /* urb unlinked by us */ |
717 | case -ETIMEDOUT: /* -110 */ | ||
718 | case -ENOENT: /* -2 (urb unlinked by us) */ | ||
719 | default: /* ??? - Play safe */ | 715 | default: /* ??? - Play safe */ |
720 | if(skb != NULL) { | 716 | if(skb != NULL) { |
721 | dev_kfree_skb_any(skb); | 717 | dev_kfree_skb_any(skb); |
@@ -845,14 +841,14 @@ static void irda_usb_receive(struct urb *urb, struct pt_regs *regs) | |||
845 | self->stats.rx_crc_errors++; | 841 | self->stats.rx_crc_errors++; |
846 | /* Also precursor to a hot-unplug on UHCI. */ | 842 | /* Also precursor to a hot-unplug on UHCI. */ |
847 | /* Fallthrough... */ | 843 | /* Fallthrough... */ |
848 | case -ECONNRESET: /* -104 */ | 844 | case -ECONNRESET: |
849 | /* Random error, if I remember correctly */ | 845 | /* Random error, if I remember correctly */ |
850 | /* uhci_cleanup_unlink() is going to kill the Rx | 846 | /* uhci_cleanup_unlink() is going to kill the Rx |
851 | * URB just after we return. No problem, at this | 847 | * URB just after we return. No problem, at this |
852 | * point the URB will be idle ;-) - Jean II */ | 848 | * point the URB will be idle ;-) - Jean II */ |
853 | case -ESHUTDOWN: /* -108 */ | 849 | case -ESHUTDOWN: |
854 | /* That's usually a hot-unplug. Submit will fail... */ | 850 | /* That's usually a hot-unplug. Submit will fail... */ |
855 | case -ETIMEDOUT: /* -110 */ | 851 | case -ETIME: |
856 | /* Usually precursor to a hot-unplug on OHCI. */ | 852 | /* Usually precursor to a hot-unplug on OHCI. */ |
857 | default: | 853 | default: |
858 | self->stats.rx_errors++; | 854 | self->stats.rx_errors++; |
diff --git a/drivers/net/irda/vlsi_ir.h b/drivers/net/irda/vlsi_ir.h index a82a4ba8de4f..c37f0bc4c7f9 100644 --- a/drivers/net/irda/vlsi_ir.h +++ b/drivers/net/irda/vlsi_ir.h | |||
@@ -58,7 +58,7 @@ typedef void irqreturn_t; | |||
58 | 58 | ||
59 | /* PDE() introduced in 2.5.4 */ | 59 | /* PDE() introduced in 2.5.4 */ |
60 | #ifdef CONFIG_PROC_FS | 60 | #ifdef CONFIG_PROC_FS |
61 | #define PDE(inode) ((inode)->u.generic_ip) | 61 | #define PDE(inode) ((inode)->i_private) |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | /* irda crc16 calculation exported in 2.5.42 */ | 64 | /* irda crc16 calculation exported in 2.5.42 */ |
diff --git a/drivers/net/ne3210.c b/drivers/net/ne3210.c index 0fa8e4d22769..d66328975425 100644 --- a/drivers/net/ne3210.c +++ b/drivers/net/ne3210.c | |||
@@ -343,6 +343,7 @@ static struct eisa_device_id ne3210_ids[] = { | |||
343 | { "NVL1801" }, | 343 | { "NVL1801" }, |
344 | { "" }, | 344 | { "" }, |
345 | }; | 345 | }; |
346 | MODULE_DEVICE_TABLE(eisa, ne3210_ids); | ||
346 | 347 | ||
347 | static struct eisa_driver ne3210_eisa_driver = { | 348 | static struct eisa_driver ne3210_eisa_driver = { |
348 | .id_table = ne3210_ids, | 349 | .id_table = ne3210_ids, |
diff --git a/drivers/net/stnic.c b/drivers/net/stnic.c index 3fd7a4fee665..e6f90427160c 100644 --- a/drivers/net/stnic.c +++ b/drivers/net/stnic.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <asm/system.h> | 20 | #include <asm/system.h> |
21 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | #include <asm/se/se.h> | 22 | #include <asm/se.h> |
23 | #include <asm/machvec.h> | 23 | #include <asm/machvec.h> |
24 | #ifdef CONFIG_SH_STANDARD_BIOS | 24 | #ifdef CONFIG_SH_STANDARD_BIOS |
25 | #include <asm/sh_bios.h> | 25 | #include <asm/sh_bios.h> |
diff --git a/drivers/net/tulip/de4x5.c b/drivers/net/tulip/de4x5.c index e661d0a9cc64..fb5fa7d68888 100644 --- a/drivers/net/tulip/de4x5.c +++ b/drivers/net/tulip/de4x5.c | |||
@@ -2114,6 +2114,7 @@ static struct eisa_device_id de4x5_eisa_ids[] = { | |||
2114 | { "DEC4250", 0 }, /* 0 is the board name index... */ | 2114 | { "DEC4250", 0 }, /* 0 is the board name index... */ |
2115 | { "" } | 2115 | { "" } |
2116 | }; | 2116 | }; |
2117 | MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids); | ||
2117 | 2118 | ||
2118 | static struct eisa_driver de4x5_eisa_driver = { | 2119 | static struct eisa_driver de4x5_eisa_driver = { |
2119 | .id_table = de4x5_eisa_ids, | 2120 | .id_table = de4x5_eisa_ids, |
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c b/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c index 923275ea0789..b9df06a06ea9 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c | |||
@@ -54,7 +54,7 @@ static ssize_t write_file_dummy(struct file *file, const char __user *buf, | |||
54 | 54 | ||
55 | static int open_file_generic(struct inode *inode, struct file *file) | 55 | static int open_file_generic(struct inode *inode, struct file *file) |
56 | { | 56 | { |
57 | file->private_data = inode->u.generic_ip; | 57 | file->private_data = inode->i_private; |
58 | return 0; | 58 | return 0; |
59 | } | 59 | } |
60 | 60 | ||
diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c index a44dda952c67..80af9a9fcbb3 100644 --- a/drivers/net/wireless/zd1201.c +++ b/drivers/net/wireless/zd1201.c | |||
@@ -119,7 +119,7 @@ static void zd1201_usbfree(struct urb *urb, struct pt_regs *regs) | |||
119 | switch(urb->status) { | 119 | switch(urb->status) { |
120 | case -EILSEQ: | 120 | case -EILSEQ: |
121 | case -ENODEV: | 121 | case -ENODEV: |
122 | case -ETIMEDOUT: | 122 | case -ETIME: |
123 | case -ENOENT: | 123 | case -ENOENT: |
124 | case -EPIPE: | 124 | case -EPIPE: |
125 | case -EOVERFLOW: | 125 | case -EOVERFLOW: |
@@ -201,7 +201,7 @@ static void zd1201_usbrx(struct urb *urb, struct pt_regs *regs) | |||
201 | switch(urb->status) { | 201 | switch(urb->status) { |
202 | case -EILSEQ: | 202 | case -EILSEQ: |
203 | case -ENODEV: | 203 | case -ENODEV: |
204 | case -ETIMEDOUT: | 204 | case -ETIME: |
205 | case -ENOENT: | 205 | case -ENOENT: |
206 | case -EPIPE: | 206 | case -EPIPE: |
207 | case -EOVERFLOW: | 207 | case -EOVERFLOW: |