Linker error on via-velocity driver

2006-08-21 Thread Henne
ice should depend on a protocol. If you are interested to fix it: make allnoconfig enable CONFIG_PCI enable CONFIG_NET enable CONFIG_NET_ETHERNET enable CONFIG_NET_PCI enable CONFIG_VIA_VELOCITY make That only happens when CONFIG_PM is enabled. If it's switched off it won't happen.

[PATCH] [NET] [VELOCITY] remove an unused function from the header

2006-08-15 Thread Henne
From: Henrik Kretzschmar <[EMAIL PROTECTED]> Removes an unused function from the via-velocity-driver. It doesn't make the binary smaller, but the source cleaner. Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]> --- --- linux-2.6.18-rc2-git6/drivers/net/via-velocity.h2006-07-30 23:25:5

[PATCH] [NET] [TG3] Convert the pci_device_it table to PCI_DEVICE()

2006-08-15 Thread Henne
From: Henrik Kretzschmar <[EMAIL PROTECTED]> Convert the pci_device_ids to PCI_DEVICE() macro. Saves 1.5k in the sourcefile. Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]> --- diff -ruN linux-2.6.18-rc2-git6/drivers/net/tg3.c linux/drivers/net/tg3.c --- linux-2.6.18-rc2-git6/drivers/net/t

[NET] initialisation cleanup for ULI526x-net-driver 2nd(mailer issue)

2006-07-24 Thread Henne
From: Henrik Kretzschmar <[EMAIL PROTECTED]> [NET] initialisation cleanup for ULI526x-net-driver removes the unneeded local variable rc replace pci_module_init() with pci_register_driver() two coding style issues on switch Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]> --- diff -ruN lin

[NET] initialisation cleanup for ULI526x-net-driver

2006-07-24 Thread Henne
From: Henrik Kretzschmar <[EMAIL PROTECTED]> [NET] initialisation cleanup for ULI526x-net-driver removes the unneeded local variable rc replace pci_module_init() with pci_register_driver() two coding style issues on switch Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]> --- diff -ruN lin

[PATCH][NET] ULi526x - driver cleanups

2006-07-20 Thread Henne
From: Henrik Kretzschmar <[EMAIL PROTECTED]> Some little cleanups for ULI-TULIP-driver: pci_module_init() conversion to pci_register_driver() remove rc, an unneeded variable from uli526x_module_init() let the debug macros use correct loglevels add a loglevel to a printk let some code more look li

[PATCH] [NET] pci_module_init() removal on some net-drivers

2006-07-19 Thread Henne
From: Henrik Kretzschmar <[EMAIL PROTECTED]> Removes pci_module_init() from 56 net-subsys-drivers and replaces it with pci_register_driver(), if the initialistion function just returns the return value of those functions. There are still some pci_module_init() left in the net drivers which requir