Hi Jeff, The attached patch adds ethtool support for -r (restart auto-negotiation) and -d (dump registers). It also contains the PCI_DEVICE changes from Renaud, a bugfix for the jumbo frame patch (th
Hi Manfred, Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> : [...] [...] Unneeded cast from void * memcpy_fromio ? [...] ^^ (nit) a space hides before the tab. ^^ (nit) a space hides before the tab. -- Ue
This seems almost completely generic-ified (except for the np->autoneg part) and should be able to operate on any NIC. Do you think there'd be some way to whip up a stock ethtool_nway_reset() type of
Manfred Spraul wrote: Not for a nic without complete documentation: What if an arch uses 64-bit reads to read two registers at the same time? Not all nics like that, for example IIRC natsemi explicit
Hi Jeff, The attached patch adds ethtool support for -r (restart auto-negotiation) and -d (dump registers). It also contains the PCI_DEVICE changes from Renaud, a bugfix for the jumbo frame patch (th
Hi Manfred, Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> : [...] [...] Unneeded cast from void * memcpy_fromio ? [...] ^^ (nit) a space hides before the tab. ^^ (nit) a space hides before the tab. -- Ue
+ int i; + + regs->version = FORCEDETH_REGS_VER; + spin_lock_irq(&np->lock); + for (i=0;i<FORCEDETH_REGS_SIZE/sizeof(u32);i++) + rbuf[i] = readl(base + i*sizeof(u32)); memcpy_fromio ? Not for a nic
Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> : [memcpy_fromio] So far, no citizen of arch/ does. Afaik it would probably be a bad idea on pci-x. Ok. -- Ueimor
This seems almost completely generic-ified (except for the np->autoneg part) and should be able to operate on any NIC. Do you think there'd be some way to whip up a stock ethtool_nway_reset() type of
Manfred Spraul wrote: Not for a nic without complete documentation: What if an arch uses 64-bit reads to read two registers at the same time? Not all nics like that, for example IIRC natsemi explicit