* [e100 2.6 1/3] PRO/10+ not configured properly
@ 2003-09-26 1:44 Feldman, Scott
2003-09-27 9:58 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Feldman, Scott @ 2003-09-26 1:44 UTC (permalink / raw)
To: Jeff Garzik; +Cc: netdev, Feldman, Scott
* PRO/10+ (10 Mbps-only card) was not configured properly so it didn't
pass traffic.
-----------------
diff -Naurp net-drivers-2.5/drivers/net/e100/e100_config.c net-drivers-2.5/drivers/net/e100.mod/e100_config.c
--- net-drivers-2.5/drivers/net/e100/e100_config.c 2003-09-24 20:33:44.000000000 -0700
+++ net-drivers-2.5/drivers/net/e100.mod/e100_config.c 2003-09-24 20:34:04.000000000 -0700
@@ -60,7 +60,7 @@ static const u8 def_config[] = {
* All other init functions will only set values that are
* different from the 82557 default.
*/
-static void __devinit
+void __devinit
e100_config_init_82557(struct e100_private *bdp)
{
/* initialize config block */
diff -Naurp net-drivers-2.5/drivers/net/e100/e100_config.h net-drivers-2.5/drivers/net/e100.mod/e100_config.h
--- net-drivers-2.5/drivers/net/e100/e100_config.h 2003-09-24 20:33:44.000000000 -0700
+++ net-drivers-2.5/drivers/net/e100.mod/e100_config.h 2003-09-24 20:34:09.000000000 -0700
@@ -151,6 +151,7 @@
/* function prototypes */
extern void e100_config_init(struct e100_private *bdp);
+extern void e100_config_init_82557(struct e100_private *bdp);
extern unsigned char e100_force_config(struct e100_private *bdp);
extern unsigned char e100_config(struct e100_private *bdp);
extern void e100_config_fc(struct e100_private *bdp);
diff -Naurp net-drivers-2.5/drivers/net/e100/e100_main.c net-drivers-2.5/drivers/net/e100.mod/e100_main.c
--- net-drivers-2.5/drivers/net/e100/e100_main.c 2003-09-24 20:33:44.000000000 -0700
+++ net-drivers-2.5/drivers/net/e100.mod/e100_main.c 2003-09-24 20:34:20.000000000 -0700
@@ -1404,6 +1404,9 @@ e100_hw_init(struct e100_private *bdp)
bdp->flags |= DF_UCODE_LOADED;
}
+ if ((u8) bdp->rev_id < D101A4_REV_ID)
+ e100_config_init_82557(bdp);
+
if (!e100_config(bdp))
goto err;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [e100 2.6 1/3] PRO/10+ not configured properly
2003-09-26 1:44 [e100 2.6 1/3] PRO/10+ not configured properly Feldman, Scott
@ 2003-09-27 9:58 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-09-27 9:58 UTC (permalink / raw)
To: Feldman, Scott; +Cc: netdev
all three patches applied to 2.6.x
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-27 9:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-26 1:44 [e100 2.6 1/3] PRO/10+ not configured properly Feldman, Scott
2003-09-27 9:58 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).