Michael Brown
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
16 vuotta sitten
Marty Connor
fa0bd77270
Added netdev_nullify to natsemi_remove()
16 vuotta sitten
Marty Connor
83c5a37aae
Added netdev_nullify to natsemi_remove()
16 vuotta sitten
Marty Connor
9a4ed0f2d5
Remove unnecessary variable.
16 vuotta sitten
Udayan Kumar
37517f7752
removed type casting from DBG statements.
17 vuotta sitten
Udayan Kumar
fc47f2a4ce
replaces printf with dbg
17 vuotta sitten
Udayan Kumar
ecfa8f41e8
mdc's+nvs
17 vuotta sitten
Udayan Kumar
008bfb6e85
more debugging
17 vuotta sitten
Udayan Kumar
f58c8511a0
more debugging
17 vuotta sitten
Udayan Kumar
d6ceb8bbd7
added silicon revision number
17 vuotta sitten
Udayan Kumar
334abbde83
init_fix_up
17 vuotta sitten
Udayan Kumar
751cb2e450
added cable magic for 100Mps in natsemi
17 vuotta sitten
Udayan Kumar
11d246f3b5
duplex setting added to natsemi.c
17 vuotta sitten
Udayan Kumar
621f6fb503
more indentation and styling done
17 vuotta sitten
Udayan Kumar
bfa322bb19
:x
17 vuotta sitten
Udayan Kumar
f213f6a1a3
no changes
17 vuotta sitten
Udayan Kumar
a8c2a4fa11
added nat_irq to natsemi.c
17 vuotta sitten
Udayan Kumar
132d0fb70c
stopped memory leak in natsemi::nat_open()
17 vuotta sitten
Udayan Kumar
83dd194330
Natsemi commented and almost done
17 vuotta sitten
Udayan Kumar
4f2fab2e14
natsemi.c is workin
17 vuotta sitten
Udayan Kumar
a86b12728a
irq still not working will have to remove it
17 vuotta sitten
Udayan Kumar
2383a070d8
natsemi
17 vuotta sitten
Udayan Kumar
5e91a38269
interrupt in natsemi
17 vuotta sitten
Udayan Kumar
0d4ecfa63c
enabled interrupt in natsemi.c
17 vuotta sitten
Udayan Kumar
9ad59b60c5
added change log to natsemi.c
17 vuotta sitten
Udayan Kumar
6d4dafdc6e
added netdev_tx_complete to natsemi.c
17 vuotta sitten
Udayan Kumar
c6d0ef3478
added endianness to natsemi.
17 vuotta sitten
Udayan Kumar
0c324caecf
free_netdev -> netdev_put
17 vuotta sitten
Udayan Kumar
623d10c66f
debugging natsemi.c
17 vuotta sitten
Udayan Kumar
4a73631106
added eeprom from rtl8139 but not working
17 vuotta sitten
Udayan Kumar
9e962c3a01
natsemi now needs eeprom access
17 vuotta sitten
Udayan Kumar
99c680f743
same as before, but now compiling natsemi
17 vuotta sitten
Udayan Kumar
c8f6207e7e
added polling and transmit. eeprom access still remaining
17 vuotta sitten
Udayan Kumar
97efdbe9d7
skel of new natsemi driver (still in developments)
17 vuotta sitten
Udayan Kumar
4cea792470
testing if it works
17 vuotta sitten
Michael Brown
208ff0d42e
Revert mdc's warnings purge on natsemi.c, to allow for a clean rebase.
17 vuotta sitten
Michael Brown
2823688a92
Revert "Replace natsemi driver with Indolent's updated one that uses the gPXE API"
This reverts commit 3487640397 .
17 vuotta sitten
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.
17 vuotta sitten
Marty Connor
1af1668c95
Warnings purge of drivers (continued)
17 vuotta sitten
Marty Connor
8c25ea0970
Updated email mdc's email address
17 vuotta sitten
Michael Brown
dad5274522
Add "name" field to struct device to allow human-readable hardware device
names.
Add "dev" pointer in struct net_device to tie network interfaces back to a
hardware device.
Force natural alignment of data types in __table() macros. This seems to
prevent gcc from taking the unilateral decision to occasionally increase
their alignment (which screws up the table packing).
17 vuotta sitten
Marty Connor
eefac0e258
eth_ntoa and warnings fixups
18 vuotta sitten
Marty Connor
35f90278a8
Remove nic_disable call from drivers. Call should be made at a higher level
18 vuotta sitten
Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
18 vuotta sitten
Michael Brown
15ee09ed10
Restructured PCI subsystem to fit the new device model.
Generic PCI code now handles 64-bit BARs correctly when setting
"membase"; drivers should need to call pci_bar_start() only if they want
to use BARs other than the first memory or I/O BAR.
Split rarely-used PCI functions out into pciextra.c.
Core PCI code is now 662 bytes (down from 1308 bytes in Etherboot 5.4).
284 bytes of this saving comes from the pci/pciextra split.
Cosmetic changes to lots of drivers (e.g. vendor_id->vendor in order to
match the names used in Linux).
18 vuotta sitten
Michael Brown
824d6ffa7f
Header rearrangement.
I want to get to the point where any header in include/ reflects a
standard user-level header (e.g. a POSIX header), while everything that's
specific to gPXE lives in include/gpxe/. Headers that reflect a Linux
header (e.g. if_ether.h) should also be in include/gpxe/, with the same
name as the Linux header and, preferably, the same names used for the
definitions.
18 vuotta sitten
George Baum
c4c05bbbf7
the uncontroversal gcc 4.0 compilation fixes
19 vuotta sitten
Michael Brown
c112f12c5b
Symbol fixups
19 vuotta sitten
Michael Brown
7e534b585f
Automatically updated with
perl -pi -0777 -e 's/^static struct \w+_driver (\w+) =\s*(\w+_DRIVER \()/${2} ${1},/msg' *.c
19 vuotta sitten
Michael Brown
e7c177cc33
Coerced into compiling
19 vuotta sitten