ne.c driver to support TX4927 board
Subsystems (2)
PATCH 1/1 ne.c driver to support TX4927 board
Hi Ralf
Attached patch implements changes to the ne.c driver to support the TX4927 board. Please review
Thanks
Manish Lachwani
Source: MontaVista Software, Inc. | http://www.mvista.com | Manish Lachwani <[email protected]>
Type: Defect Fix
Disposition: Submitted to Linux-MIPS
Description:
Support for RBTX4927 in NS8390 ethernet driver in 2.6.10
drivers/net/ne.c +10 -0
@@ -112,6 +112,7 @@ {"PCM-4823", "PCM-4823", {0x00, 0xc0, 0x6c}}, /* Broken Advantech MoBo */ {"REALTEK", "RTL8019", {0x00, 0x00, 0xe8}}, /* no-name with Realtek chip */ {"LCS-8834", "LCS-8836", {0x04, 0x04, 0x37}}, /* ShinyNet (SET) */ + {"RBHMA4X00-RTL8019", "RBHMA4X00/RTL8019", {0x00, 0x60, 0x0a}}, /* Toshiba built-in */ {NULL,} }; #endif
@@ -226,6 +227,10 @@sprintf (dev->name,"eth%d" , unit);netdev_boot_setup_check (dev); +#ifdef CONFIG_TOSHIBA_RBTX4927 + dev->base_addr =0x06020280 ; + dev->irq =29 ; +#endif err =do_ne_probe (dev);if (err) goto out;
@@ -511,6 +516,11 @@ ei_status.name = name; ei_status.tx_start_page = start_page; ei_status.stop_page = stop_page; + +#ifdef CONFIG_TOSHIBA_RBTX4927 + wordlength =1 ; +#endif +#ifdef CONFIG_PLAT_OAKS32R ei_status.word16 =0 ;#else