Michael Brown
c27b06fc4d
Merge commit 'indolent/natsemi'
vor 17 Jahren
Udayan Kumar
37517f7752
removed type casting from DBG statements.
vor 17 Jahren
Udayan Kumar
fc47f2a4ce
replaces printf with dbg
vor 17 Jahren
Udayan Kumar
04962a0b31
added natsemi.h
vor 17 Jahren
Udayan Kumar
ecfa8f41e8
mdc's+nvs
vor 17 Jahren
Udayan Kumar
008bfb6e85
more debugging
vor 17 Jahren
Udayan Kumar
f58c8511a0
more debugging
vor 17 Jahren
Udayan Kumar
d6ceb8bbd7
added silicon revision number
vor 17 Jahren
Udayan Kumar
334abbde83
init_fix_up
vor 17 Jahren
Udayan Kumar
751cb2e450
added cable magic for 100Mps in natsemi
vor 17 Jahren
Udayan Kumar
11d246f3b5
duplex setting added to natsemi.c
vor 17 Jahren
Udayan Kumar
621f6fb503
more indentation and styling done
vor 17 Jahren
Udayan Kumar
bfa322bb19
:x
vor 17 Jahren
Udayan Kumar
f213f6a1a3
no changes
vor 17 Jahren
Udayan Kumar
a8c2a4fa11
added nat_irq to natsemi.c
vor 17 Jahren
Udayan Kumar
132d0fb70c
stopped memory leak in natsemi::nat_open()
vor 17 Jahren
Udayan Kumar
83dd194330
Natsemi commented and almost done
vor 17 Jahren
Udayan Kumar
4f2fab2e14
natsemi.c is workin
vor 17 Jahren
Udayan Kumar
a86b12728a
irq still not working will have to remove it
vor 17 Jahren
Udayan Kumar
2383a070d8
natsemi
vor 17 Jahren
Udayan Kumar
5e91a38269
interrupt in natsemi
vor 17 Jahren
Udayan Kumar
0d4ecfa63c
enabled interrupt in natsemi.c
vor 17 Jahren
Udayan Kumar
9ad59b60c5
added change log to natsemi.c
vor 17 Jahren
Udayan Kumar
6d4dafdc6e
added netdev_tx_complete to natsemi.c
vor 17 Jahren
Udayan Kumar
c6d0ef3478
added endianness to natsemi.
vor 17 Jahren
Udayan Kumar
0c324caecf
free_netdev -> netdev_put
vor 17 Jahren
Udayan Kumar
623d10c66f
debugging natsemi.c
vor 17 Jahren
Udayan Kumar
4a73631106
added eeprom from rtl8139 but not working
vor 17 Jahren
Udayan Kumar
9e962c3a01
natsemi now needs eeprom access
vor 17 Jahren
Udayan Kumar
99c680f743
same as before, but now compiling natsemi
vor 17 Jahren
Udayan Kumar
c8f6207e7e
added polling and transmit. eeprom access still remaining
vor 17 Jahren
Udayan Kumar
97efdbe9d7
skel of new natsemi driver (still in developments)
vor 17 Jahren
Udayan Kumar
4cea792470
testing if it works
vor 17 Jahren
Michael Brown
208ff0d42e
Revert mdc's warnings purge on natsemi.c, to allow for a clean rebase.
vor 17 Jahren
Michael Brown
0b5059c40b
Skip the length field prepended by util/nrv2b.c
vor 17 Jahren
Michael Brown
b37e267d1b
Modified calling convention: we now update %esi and %edi just like a
"rep movsb".
vor 17 Jahren
Michael Brown
3feac9465e
"not" doesn't affect flags, "xor $-1" does.
vor 17 Jahren
Michael Brown
7e3a8f5e10
Remove more obsolete files
vor 17 Jahren
Michael Brown
26473105cd
On advice of hpa: be more patient with the KBC and SCPA methods; retry
in a long loop before giving up on them. Record method which worked
and default to that method on next attempt.
vor 17 Jahren
Michael Brown
adf192f566
Shrink cpu.c and render it useful for our purposes.
vor 17 Jahren
Michael Brown
25fd42ca87
Reduced etherboot.h dependencies to avoid unnecessary rebuilds.
etherboot.h is only now used by drivers that have not been updated to
the new API.
vor 17 Jahren
Michael Brown
e330db3c74
Dead code removal.
Kill off use of etherboot.h outside drivers/net.
vor 17 Jahren
Michael Brown
95c07736cb
Be more aggressive in attempts to enable A20, now that we have the
optimisation of only trying to do so when necessary.
vor 17 Jahren
Michael Brown
8624fdc445
Kill off the enforced RX quota; it only seems to hurt on real hardware.
vor 17 Jahren
Michael Brown
57b5e227ff
Use fast in-situ test for gate A20 being set, to cut down on the
number of (potentially very slow) gateA20_set operations.
Die with a fatal error if we are unable to set gate A20; if this fails
then we are bound to experience memory corruption at a later stage,
and I'd prefer to pick it up early.
vor 17 Jahren
Michael Brown
096fa94f0c
Add support for TCP timestamps
vor 17 Jahren
Michael Brown
eb530845d4
Adjust received length to take into account any already-received data
in tcp_rx_data().
Clarify comments on discarding duplicate or out-of-order data.
vor 17 Jahren
Michael Brown
d5735c631c
Avoid reusing auto-allocated ports after connection close.
vor 17 Jahren
Michael Brown
2ac7694c3e
Improve error reporting for strange length combinations reported by
the UNDI stack.
Ignore obviously invalid length combinations (as returned by
e.g. VMWare's PXE stack).
Limit to one packet per poll to avoid memory exhaustion.
vor 17 Jahren
Michael Brown
efd322091d
Set up %ds *before* testing a value in our data segment (d'oh!).
Always send EOI; do not chain to BIOS's default interrupt handler.
They are just too unpredictable; at least VMware's seems to kill the
machine if you go anywhere near it.
Disable interrupts after return from PXENV_UNDI_ISR, just in case some
dumb PXE stack enables them.
vor 17 Jahren