s said, which one will be stay at
the kernel, Dustin's or SMSC's? Because I have additional patches againist to
in-kernel driver and maybe some more in the future. Our board is MIPS based.
PS: I am happy if you send me your patches privately...
--
Bora SAHIN
-
To unsubscribe from this
lp->afc_cfg=0x006E378F;break;
>
> Not your fault but the break statement is misplaced.
Or one space ahead? like
lp->afc_cfg=0x006E378F; break;
--
Bora SAHIN
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
x006E378F;break;
>
> Not your fault but the break statement is misplaced.
One line below?
Thanks for all of your comments. I will create a new set of patches...
--
Bora SAHIN
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
reading
> > the same two PHY registers at PHY addresses 0x02 through 0x30. If values of
> [...]
> > - for (phyaddr = 1; phyaddr < 32; ++phyaddr) {
> > + for (phyaddr = 2; phyaddr < 30; ++phyaddr) {
>
> Is 30 inclusive
#x27;s two different things. Just want to explain it.
Do you think if I convert them(smc911x.h) to static inline, would that be
correct?
--
Bora SAHIN
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
SMC_WRITE_EEPROM_CMD macro is wrong
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.h
===
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.h 2006-08-06 21:20:11.0
+0300
+++
PRINT_PKT doesnt count on odd remainder...
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.c 2006-08-06 21:20:11.0
SMC_SET_IRQ_CFG macro is PXA specific...
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.c 2006-08-06 21:20:11.0
+0300
+++
BACKDUR calculation is wrong at case 5. Also some cosmetic around
smc911x_probe...
AFC_HI is about ((Rx Data Fifo Size)*2/3)/64
AFC_LO is AFC_HI/2
BACK_DUR is about 5uS*(AFC_LO) rounded down
Rx Data Fifo Size = 10560
AFC_HI = 110
AFC_LO = 55
BACK_DUR = 55 * 5 = 275
Signed-off-by: Bora Sahin
And according to the datasheet, waiting is needed when disabling clocks.
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.c 2006-08-06
Datasheet says, page: 98 -> http://www.smsc.com/main/datasheets/9115.pdf
"MAC_CR_RCVOWN_ should be reset when the Full
Duplex Mode bit is set" and "When MAC_CR_FDPX_ set, the MAC operates in
Full-Duplex mode, in which it can transmit and receive simultaneously."
Si
Use SET_ETHTOOL_OPS macro...
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.c 2006-08-06 21:20:11.0
+0300
+++ linux-2.6.
When in 16 bit mode, SMC_outl incorrectly simulates the situation and plus in
32 bit mode SMC_outw is missing...
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.h
===
--- linux-2.6.
phy_configure releases spinlocks before grabing...
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.c 2006-08-06 21:20:11.0
smc911x_enable, which enables irqs as a last task, is called with irqs
disabled.
There is no any other concurrent access at that phase so spinlock protection
is unneeded...
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc
In Rev B silicon
#defineINT_STS_RXDF_INT_ (0x0040) /* R/WC */
seems reserved.
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===
--- linux-2.6.
Some cosmetic around DBG macros...
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.c 2006-08-06 21:20:11.0
+0300
+++
> When in 16 bit mode, SMC_outl incorrectly simulates the situation and plus in
> 32 bit mode SMC_outw is missing...
>
[Snip]
Because mailer wraps the lines patch is not applied. I pushed it by mistake...
Sory for the inconsistencies. I'll cook up new series of patches...
--
B
When in 16 bit mode, SMC_outl incorrectly simulates the situation and plus in
32 bit mode SMC_outw is missing...
Signed-off-by: Bora Sahin <[EMAIL PROTECTED]>
Index: linux-2.6.18-rc4/drivers/net/smc911x.h
===
--- linux-2.6.
19 matches
Mail list logo