Udayan Kumar
0c324caecf
free_netdev -> netdev_put
17 years ago
Udayan Kumar
623d10c66f
debugging natsemi.c
17 years ago
Udayan Kumar
4a73631106
added eeprom from rtl8139 but not working
17 years ago
Udayan Kumar
9e962c3a01
natsemi now needs eeprom access
17 years ago
Udayan Kumar
99c680f743
same as before, but now compiling natsemi
17 years ago
Udayan Kumar
c8f6207e7e
added polling and transmit. eeprom access still remaining
17 years ago
Udayan Kumar
97efdbe9d7
skel of new natsemi driver (still in developments)
17 years ago
Udayan Kumar
4cea792470
testing if it works
17 years ago
Michael Brown
208ff0d42e
Revert mdc's warnings purge on natsemi.c, to allow for a clean rebase.
17 years ago
Michael Brown
0b5059c40b
Skip the length field prepended by util/nrv2b.c
17 years ago
Michael Brown
b37e267d1b
Modified calling convention: we now update %esi and %edi just like a
"rep movsb".
17 years ago
Michael Brown
3feac9465e
"not" doesn't affect flags, "xor $-1" does.
17 years ago
Michael Brown
7e3a8f5e10
Remove more obsolete files
17 years ago
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.
17 years ago
Michael Brown
adf192f566
Shrink cpu.c and render it useful for our purposes.
17 years ago
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.
17 years ago
Michael Brown
e330db3c74
Dead code removal.
Kill off use of etherboot.h outside drivers/net.
17 years ago
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.
17 years ago
Michael Brown
8624fdc445
Kill off the enforced RX quota; it only seems to hurt on real hardware.
17 years ago
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.
17 years ago
Michael Brown
096fa94f0c
Add support for TCP timestamps
17 years ago
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.
17 years ago
Michael Brown
d5735c631c
Avoid reusing auto-allocated ports after connection close.
17 years ago
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.
17 years ago
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.
17 years ago
Michael Brown
f6f9a3098d
Report RX errors via netdev_rx_err()
17 years ago
Michael Brown
fb16f90699
Dump first 64 bytes of chained ISR when debugging is enabled.
17 years ago
Michael Brown
b3e44a24b1
May be required in some disconnect scenarios
17 years ago
Michael Brown
4075f7596b
Unplug before sending close() message, to avoid screwing up interfaces
which respond to close with a reopen() (e.g. iSCSI).
17 years ago
Michael Brown
d3ad76bc74
Add debug messages to process.c
17 years ago
Michael Brown
edc4648c39
Protect ISR against failure to unhook.
17 years ago
Michael Brown
4e14b020a5
Master IRQ should be EOIed first, I think.
17 years ago
Michael Brown
19871cbb96
We probably ought not to call INT13 with interrupts disabled.
17 years ago
Michael Brown
027fed72c1
Working code to call the PXE stack from within the ISR.
17 years ago
Michael Brown
976a8514cb
Hopefully solve the problem requiring the occasional "rm -rf bin/deps".
17 years ago
Michael Brown
cd7e296cbe
Always increase number of BIOS drives when registering
17 years ago
Michael Brown
b90d321dfb
Change %dl fixup rules for INT13:
INT 13,08 : read number of drives from 40:75
INT 13,15 : do nothing
all others : restore original value of %dl
17 years ago
Michael Brown
c7d9fdb5b9
Proof of concept; works, but has several hard-coded hacks.
17 years ago
Michael Brown
8bce52d348
Set CF by default, clear on success (rather than clearing and setting
on failure).
17 years ago
Michael Brown
f0c44f2f71
Remove xfer_ready() (it has been replaced by xfer_window())
17 years ago
Michael Brown
55d03ccbe3
Added missing "static"
17 years ago
Michael Brown
9dc6a1e678
Remove some obsolete stream-API files
17 years ago
Holger Lubitz
4ff85d9f15
Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win.
17 years ago
Holger Lubitz
bfc4737751
Update Makefile for compilation on ARCH=x86_64
17 years ago
Michael Brown
487dc5be56
Fix up iscsiboot missing prototype warnings
17 years ago
Michael Brown
fd4fcb57db
Add missing static
17 years ago
Michael Brown
fabd0f5fec
Fix TX state machine and miscellaneous other bits.
17 years ago
Michael Brown
ef9fd938d0
Fix root-path parsing.
17 years ago
Michael Brown
cc80750694
Merge branch 'master' into iscsi-update
17 years ago
Michael Brown
7137c20ed1
Add strcspn() and strndup()
17 years ago