Marty Connor
02a7514128
Change #warning to FIXME for ns8390.c
...
This driver really needs to be rewritten.
It tries to build both ISA and PCI images,
and makes life diffifult for the build system
and rom-o-matic.net. The warning was just a reminder
that it needs to be cleaned up and re-factored
to split the PCI and ISA drivers.
2007-07-22 21:00:55 -04:00
Marty Connor
4e177aee17
Change #warning to FIXME for depca
...
This ancient ISA driver should probably be removed.
It is hard to get a card to test it with, and there
are comments to the effect that it cannot work with
relocation. I would be quite interested to get a
bug report by someone who actually has this card.
2007-07-22 20:56:26 -04:00
Udayan Kumar
37517f7752
removed type casting from DBG statements.
2007-07-14 21:08:07 -04:00
Udayan Kumar
fc47f2a4ce
replaces printf with dbg
2007-07-14 21:08:07 -04:00
Udayan Kumar
04962a0b31
added natsemi.h
2007-07-14 21:08:06 -04:00
Udayan Kumar
ecfa8f41e8
mdc's+nvs
2007-07-14 21:08:06 -04:00
Udayan Kumar
008bfb6e85
more debugging
2007-07-14 21:08:06 -04:00
Udayan Kumar
f58c8511a0
more debugging
2007-07-14 21:08:06 -04:00
Udayan Kumar
d6ceb8bbd7
added silicon revision number
2007-07-14 21:08:06 -04:00
Udayan Kumar
334abbde83
init_fix_up
2007-07-14 21:08:06 -04:00
Udayan Kumar
751cb2e450
added cable magic for 100Mps in natsemi
2007-07-14 21:08:06 -04:00
Udayan Kumar
11d246f3b5
duplex setting added to natsemi.c
2007-07-14 21:08:06 -04:00
Udayan Kumar
621f6fb503
more indentation and styling done
2007-07-14 21:08:06 -04:00
Udayan Kumar
bfa322bb19
:x
2007-07-14 21:08:06 -04:00
Udayan Kumar
f213f6a1a3
no changes
2007-07-14 21:08:06 -04:00
Udayan Kumar
a8c2a4fa11
added nat_irq to natsemi.c
2007-07-14 21:08:06 -04:00
Udayan Kumar
132d0fb70c
stopped memory leak in natsemi::nat_open()
2007-07-14 21:08:06 -04:00
Udayan Kumar
83dd194330
Natsemi commented and almost done
2007-07-14 21:08:05 -04:00
Udayan Kumar
4f2fab2e14
natsemi.c is workin
2007-07-14 21:08:05 -04:00
Udayan Kumar
a86b12728a
irq still not working will have to remove it
2007-07-14 21:08:05 -04:00
Udayan Kumar
2383a070d8
natsemi
2007-07-14 21:08:05 -04:00
Udayan Kumar
5e91a38269
interrupt in natsemi
2007-07-14 21:08:05 -04:00
Udayan Kumar
0d4ecfa63c
enabled interrupt in natsemi.c
2007-07-14 21:08:05 -04:00
Udayan Kumar
9ad59b60c5
added change log to natsemi.c
2007-07-14 21:08:05 -04:00
Udayan Kumar
6d4dafdc6e
added netdev_tx_complete to natsemi.c
2007-07-14 21:08:05 -04:00
Udayan Kumar
c6d0ef3478
added endianness to natsemi.
2007-07-14 21:08:05 -04:00
Udayan Kumar
0c324caecf
free_netdev -> netdev_put
2007-07-14 21:08:05 -04:00
Udayan Kumar
623d10c66f
debugging natsemi.c
2007-07-14 21:08:05 -04:00
Udayan Kumar
4a73631106
added eeprom from rtl8139 but not working
2007-07-14 21:08:05 -04:00
Udayan Kumar
9e962c3a01
natsemi now needs eeprom access
2007-07-14 21:08:05 -04:00
Udayan Kumar
99c680f743
same as before, but now compiling natsemi
2007-07-14 21:08:05 -04:00
Udayan Kumar
c8f6207e7e
added polling and transmit. eeprom access still remaining
2007-07-14 21:08:05 -04:00
Udayan Kumar
97efdbe9d7
skel of new natsemi driver (still in developments)
2007-07-14 21:08:05 -04:00
Udayan Kumar
4cea792470
testing if it works
2007-07-14 21:08:05 -04:00
Michael Brown
208ff0d42e
Revert mdc's warnings purge on natsemi.c, to allow for a clean rebase.
2007-07-14 21:08:05 -04:00
Michael Brown
e330db3c74
Dead code removal.
...
Kill off use of etherboot.h outside drivers/net.
2007-07-14 15:42:26 +01:00
Michael Brown
55d03ccbe3
Added missing "static"
2007-07-09 03:54:29 +01:00
Michael Brown
4c418d2100
Use net_device_operations structure and netdev_nullify() to allow for
...
safe dropping of the netdev ref by the driver while other refs still
exist.
Add netdev_irq() method. Net device open()/close() methods should no
longer enable or disable IRQs.
Remove rx_quota; it wasn't used anywhere and added too much complexity
to implementing correct interrupt-masking behaviour in pxe_undi.c.
2007-07-07 16:43:39 +01:00
Michael Brown
2823688a92
Revert "Replace natsemi driver with Indolent's updated one that uses the gPXE API"
...
This reverts commit 3487640397
.
2007-07-07 16:40:58 +01:00
Michael Brown
436adb2890
Revert "convert to zalloc"
...
This reverts commit 68add6e814
.
2007-07-07 03:59:37 +01:00
Holger Lubitz
68add6e814
convert to zalloc
2007-07-06 20:42:05 +02:00
Michael Brown
ed7eae6005
Use netdev_rx_err() to report receive errors.
2007-07-05 17:23:03 +01:00
Marty Connor
3487640397
Replace natsemi driver with Indolent's updated one that uses the gPXE API
...
This version uses the gPXE driver API rather than the legacy wrapper API.
2007-07-05 08:54:12 -04:00
Marty Connor
1069a74d20
Warnings purge for via-velocity.[ch]
2007-07-04 21:58:28 -04:00
Marty Connor
8d39559192
Update warnings in depca.c ns8390.c
2007-07-04 20:14:10 -04:00
Marty Connor
13016297ed
Purge warnings from tg3.c
2007-07-04 19:49:46 -04:00
Marty Connor
e5950283ec
Purge warnings from prism2 drivers
2007-07-04 19:47:01 -04:00
Marty Connor
1af1668c95
Warnings purge of drivers (continued)
2007-07-04 05:52:56 -04:00
Michael Brown
ca4bd3e24e
Kill off now-redundant _irq() methods.
2007-07-03 15:37:56 +01:00
Michael Brown
e436b993a9
Avoid double free on I/O buffer when rtl_transmit() returns failure.
...
Convert printf() to DBG(); printf() is not allowed in drivers.
2007-07-03 14:44:33 +01:00