Paulius Zaleckas f004f3ea34 phylib: make mdio-gpio work without OF (v4)
make mdio-gpio work with non OpenFirmware gpio implementation.

Aditional changes to mdio-gpio:
- use gpio_request() and gpio_free()
- place irq[] array in struct mdio_gpio_info
- add module description, author and license
- add note about compiling this driver as module
- rename mdc and mdio function (were ugly names)
- change MII to MDIO in bus name
- add __init __exit to module (un)loading functions
- probe fails if no phys added to the bus
- kzalloc bitbang with sizeof(*bitbang)

Changes since v3:
- keep bus naming "%x" to be compatible with existing drivers.

Changes since v2:
- more #ifdefs reduction
- platform driver will be registered on OF platforms also
- unified platform and OF bus_id to phy%i

Changes since v1:
- removed NO_IRQ
- reduced #idefs

Laurent, please test this driver under OF.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-16 18:59:45 -08:00
..
2008-11-06 00:50:56 -05:00
2008-11-16 00:36:08 -08:00
2008-10-27 17:06:18 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2007-10-10 16:51:43 -07:00
2006-09-13 13:24:59 -04:00
2008-07-18 17:54:17 -07:00
2008-10-09 12:22:38 -07:00
2008-11-12 16:03:05 -08:00
2008-11-12 16:02:45 -08:00
2008-08-13 16:05:38 -07:00
2008-08-13 16:05:37 -07:00
2008-08-13 16:05:37 -07:00
2008-08-13 16:05:37 -07:00
2008-09-03 14:38:00 -07:00
2008-09-22 19:27:10 -07:00
2008-10-27 17:06:18 -07:00
2006-09-13 13:24:59 -04:00
2007-02-09 16:23:17 +00:00
2006-09-13 13:24:59 -04:00
2008-02-01 20:54:03 +11:00
2008-11-16 12:41:35 -08:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:13 -07:00
2008-10-27 17:06:18 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-07-25 15:44:44 +10:00
2008-08-14 04:26:38 -04:00
2008-10-27 17:06:18 -07:00
2008-10-08 19:51:33 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2007-10-19 11:53:42 -07:00
2007-04-28 11:01:05 -04:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-03-26 00:18:00 -04:00
2006-09-13 13:24:59 -04:00
2008-10-27 17:06:18 -07:00
2008-03-05 16:34:41 -06:00
2008-07-20 17:12:34 -07:00
2008-01-28 15:11:27 -08:00
2008-07-20 17:12:34 -07:00
2008-10-17 02:38:35 +11:00
2008-10-27 17:06:18 -07:00
2008-11-10 15:11:56 -05:00
2008-11-10 15:11:56 -05:00
2008-10-27 17:06:18 -07:00
2008-08-07 02:20:57 -04:00
2006-09-13 13:24:59 -04:00
2007-10-16 21:10:29 -04:00
2008-10-27 17:06:18 -07:00
2008-08-07 01:55:50 -04:00
2008-01-28 15:11:27 -08:00
2006-09-13 13:24:59 -04:00
2008-10-22 06:22:13 -04:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2007-07-16 15:02:47 +02:00
2008-04-16 20:06:50 -04:00
2008-08-29 02:13:33 -07:00
2008-01-28 15:07:10 -08:00
2008-08-29 02:14:29 -07:00
2008-08-29 02:14:43 -07:00
2008-10-27 17:06:18 -07:00
2007-10-10 16:51:34 -07:00
2008-11-03 16:55:44 -08:00
2008-05-30 22:18:02 -04:00
2008-10-28 23:02:33 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00
2008-10-27 17:06:18 -07:00