Magellan Linux

Contents of /trunk/kernel26-alx/patches-2.6.21-r15/0303-2.6.21-enable-natsemi-wyse-hack.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 464 - (show annotations) (download)
Wed Feb 6 09:19:36 2008 UTC (16 years, 8 months ago) by niro
File size: 826 byte(s)
-rev bump to 2.6.21-alx-r15; added i686 support

1 diff -Naur linux-2.6.21/drivers/net/natsemi.c linux-2.6.21-wyse/drivers/net/natsemi.c
2 --- linux-2.6.21/drivers/net/natsemi.c 2008-01-19 14:46:59.000000000 +0100
3 +++ linux-2.6.21-wyse/drivers/net/natsemi.c 2008-01-19 14:45:35.000000000 +0100
4 @@ -81,7 +81,7 @@
5 Setting to > 1518 effectively disables this feature. */
6 static int rx_copybreak;
7
8 -static int dspcfg_workaround = 1;
9 +static int dspcfg_workaround = 0;
10
11 /* Used to pass the media type, etc.
12 Both 'options[]' and 'full_duplex[]' should exist for driver
13 @@ -955,8 +955,8 @@
14 if (i)
15 goto err_register_netdev;
16
17 - if (!NATSEMI_CREATE_FILE(pdev, dspcfg_workaround))
18 - goto err_create_file;
19 + //if (!NATSEMI_CREATE_FILE(pdev, dspcfg_workaround))
20 + // goto err_create_file;
21
22 if (netif_msg_drv(np)) {
23 printk(KERN_INFO "natsemi %s: %s at %#08lx (%s), ",