Michael Brown
8624fdc445
Kill off the enforced RX quota; it only seems to hurt on real hardware.
преди 17 години
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 години
Michael Brown
096fa94f0c
Add support for TCP timestamps
преди 17 години
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 години
Michael Brown
d5735c631c
Avoid reusing auto-allocated ports after connection close.
преди 17 години
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 години
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 години
Michael Brown
f6f9a3098d
Report RX errors via netdev_rx_err()
преди 17 години
Michael Brown
fb16f90699
Dump first 64 bytes of chained ISR when debugging is enabled.
преди 17 години
Michael Brown
b3e44a24b1
May be required in some disconnect scenarios
преди 17 години
Michael Brown
4075f7596b
Unplug before sending close() message, to avoid screwing up interfaces
which respond to close with a reopen() (e.g. iSCSI).
преди 17 години
Michael Brown
d3ad76bc74
Add debug messages to process.c
преди 17 години
Michael Brown
edc4648c39
Protect ISR against failure to unhook.
преди 17 години
Michael Brown
4e14b020a5
Master IRQ should be EOIed first, I think.
преди 17 години
Michael Brown
19871cbb96
We probably ought not to call INT13 with interrupts disabled.
преди 17 години
Michael Brown
027fed72c1
Working code to call the PXE stack from within the ISR.
преди 17 години
Michael Brown
976a8514cb
Hopefully solve the problem requiring the occasional "rm -rf bin/deps".
преди 17 години
Michael Brown
cd7e296cbe
Always increase number of BIOS drives when registering
преди 17 години
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 години
Michael Brown
c7d9fdb5b9
Proof of concept; works, but has several hard-coded hacks.
преди 17 години
Michael Brown
8bce52d348
Set CF by default, clear on success (rather than clearing and setting
on failure).
преди 17 години
Michael Brown
f0c44f2f71
Remove xfer_ready() (it has been replaced by xfer_window())
преди 17 години
Michael Brown
55d03ccbe3
Added missing "static"
преди 17 години
Michael Brown
9dc6a1e678
Remove some obsolete stream-API files
преди 17 години
Holger Lubitz
4ff85d9f15
Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win.
преди 17 години
Holger Lubitz
bfc4737751
Update Makefile for compilation on ARCH=x86_64
преди 17 години
Michael Brown
487dc5be56
Fix up iscsiboot missing prototype warnings
преди 17 години
Michael Brown
fd4fcb57db
Add missing static
преди 17 години
Michael Brown
fabd0f5fec
Fix TX state machine and miscellaneous other bits.
преди 17 години
Michael Brown
ef9fd938d0
Fix root-path parsing.
преди 17 години
Michael Brown
cc80750694
Merge branch 'master' into iscsi-update
преди 17 години
Michael Brown
7137c20ed1
Add strcspn() and strndup()
преди 17 години
Michael Brown
ed20fee0cf
Make ref_get() return the reference, for cleaner code.
преди 17 години
Michael Brown
b94420a52b
Ready to start testing
преди 17 години
Michael Brown
edd1b173a7
Code in place to use a hypothetical SCSI interface.
преди 17 години
Michael Brown
f2fa390ae6
Everything except the SCSI interface should now be present
преди 17 години
Michael Brown
9b28b25332
iSCSI updated to use data-xfer interface on the socket side (TCP).
SCSI interface not yet implemented.
преди 17 години
Michael Brown
edded7546e
Limit xmit window to one MTU. (Path MTU discovery not yet
implemented; should be done at some point.)
преди 17 години
Michael Brown
3e1dd0772a
Fix typo that was preventing any DHCP option applicators from being
applied.
преди 17 години
Michael Brown
237e23c1c9
Add debug message when nameserver setting is applied/changed via DHCP.
преди 17 години
Michael Brown
35afb379af
TCP limits advertised TCP window to size of application window
obtained via xfer_window().
преди 17 години
Michael Brown
b34d4d0449
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.
преди 17 години
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
преди 17 години
Michael Brown
e5d8ede978
Re-added symtab to CLEANUP list
преди 17 години
Michael Brown
e505ceb942
Revert "Cope with builds with differing debug options within a second of each"
This reverts commit fc5f6c9de2 .
Reverted commit breaks the much more common case of changing the debug
options in subsequent builds without any code changes.
преди 17 години
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.
преди 17 години
Michael Brown
2823688a92
Revert "Replace natsemi driver with Indolent's updated one that uses the gPXE API"
This reverts commit 3487640397 .
преди 17 години
Michael Brown
627feee265
Merge branch 'zalloc'
преди 17 години
Michael Brown
436adb2890
Revert "convert to zalloc"
This reverts commit 68add6e814 .
преди 17 години
Holger Lubitz
85e04b5837
Revert "convert to zalloc"
This reverts commit a4bea78974 .
преди 17 години