linux/drivers/net/arm
Uwe Kleine-König 78a9c9c974 register at91_ether using platform_driver_probe
at91ether_probe lives in .init.text, so using platform_driver_register
to register it is wrong because binding a device after the init memory
is discarded (e.g. via sysfs) results in an oops.

As requested by David Brownell platform_driver_probe is used instead of
moving the probe function to .devinit.text as proposed initially.
This saves some memory, but devices registered after the driver is
probed are not bound (probably there are none) and binding via sysfs
isn't possible.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-22 11:24:28 -07:00
..
am79c961a.c am79c961a: convert to net_device_ops 2009-04-11 02:53:53 -07:00
am79c961a.h fix file specification in comments 2006-10-03 23:01:26 +02:00
at91_ether.c register at91_ether using platform_driver_probe 2009-07-22 11:24:28 -07:00
at91_ether.h at91_ether: use netstats in net_device structure 2008-07-22 19:45:41 -04:00
ep93xx_eth.c net: replace dma_sync_single with dma_sync_single_for_cpu 2009-05-29 01:51:22 -07:00
ether1.c ether1: convert to net_device_ops 2009-04-11 02:53:55 -07:00
ether1.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ether3.c net: use symbolic values for ndo_start_xmit() return codes 2009-06-13 01:18:50 -07:00
ether3.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
etherh.c Revert "etherh: Get working again." 2009-02-22 19:54:16 -08:00
ixp4xx_eth.c netdev: restore MTU change operation 2009-07-12 14:20:04 -07:00
Kconfig Add mac driver for w90p910 2009-07-20 07:45:05 -07:00
ks8695net.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
ks8695net.h net: Add support for the KS8695 ethernet devices. 2008-12-11 21:00:29 -08:00
Makefile Add mac driver for w90p910 2009-07-20 07:45:05 -07:00
w90p910_ether.c Add mac driver for w90p910 2009-07-20 07:45:05 -07:00