99c680f743
same as before, but now compiling natsemi
Udayan Kumar
2007-06-20 19:46:22 -04:00
c8f6207e7e
added polling and transmit. eeprom access still remaining
Udayan Kumar
2007-06-20 19:07:04 -04:00
97efdbe9d7
skel of new natsemi driver (still in developments)
Udayan Kumar
2007-06-18 18:30:33 -04:00
4cea792470
testing if it works
Udayan Kumar
2007-06-15 21:42:09 -04:00
208ff0d42e
Revert mdc's warnings purge on natsemi.c, to allow for a clean rebase.
Michael Brown
2007-07-07 22:33:45 +01:00
0b5059c40b
Skip the length field prepended by util/nrv2b.c
Michael Brown
2007-07-15 02:01:17 +01:00
b37e267d1b
Modified calling convention: we now update %esi and %edi just like a "rep movsb".
Michael Brown
2007-07-15 01:51:32 +01:00
3feac9465e
"not" doesn't affect flags, "xor $-1" does.
Michael Brown
2007-07-15 01:25:13 +01:00
7e3a8f5e10
Remove more obsolete files
Michael Brown
2007-07-14 23:16:01 +01:00
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.
Michael Brown
2007-07-14 20:56:12 +01:00
adf192f566
Shrink cpu.c and render it useful for our purposes.
Michael Brown
2007-07-14 19:12:13 +01:00
25fd42ca87
Reduced etherboot.h dependencies to avoid unnecessary rebuilds.
Michael Brown
2007-07-14 15:52:23 +01:00
e330db3c74
Dead code removal.
Michael Brown
2007-07-14 15:42:26 +01:00
95c07736cb
Be more aggressive in attempts to enable A20, now that we have the optimisation of only trying to do so when necessary.
Michael Brown
2007-07-14 14:21:18 +01:00
8624fdc445
Kill off the enforced RX quota; it only seems to hurt on real hardware.
Michael Brown
2007-07-14 00:30:11 +01:00
57b5e227ff
Use fast in-situ test for gate A20 being set, to cut down on the number of (potentially very slow) gateA20_set operations.
Michael Brown
2007-07-13 13:32:49 +01:00
096fa94f0c
Add support for TCP timestamps
Michael Brown
2007-07-13 11:32:53 +01:00
eb530845d4
Adjust received length to take into account any already-received data in tcp_rx_data().
Michael Brown
2007-07-13 11:31:58 +01:00
d5735c631c
Avoid reusing auto-allocated ports after connection close.
Michael Brown
2007-07-13 11:25:00 +01:00
2ac7694c3e
Improve error reporting for strange length combinations reported by the UNDI stack.
Michael Brown
2007-07-10 20:59:21 +01:00
efd322091d
Set up %ds *before* testing a value in our data segment (d'oh!).
Michael Brown
2007-07-10 17:08:32 +01:00
f6f9a3098d
Report RX errors via netdev_rx_err()
Michael Brown
2007-07-10 17:01:18 +01:00
fb16f90699
Dump first 64 bytes of chained ISR when debugging is enabled.
Michael Brown
2007-07-10 16:57:55 +01:00
b3e44a24b1
May be required in some disconnect scenarios
Michael Brown
2007-07-10 06:31:11 +01:00
4075f7596b
Unplug before sending close() message, to avoid screwing up interfaces which respond to close with a reopen() (e.g. iSCSI).
Michael Brown
2007-07-10 06:25:30 +01:00
d3ad76bc74
Add debug messages to process.c
Michael Brown
2007-07-10 06:24:30 +01:00
edc4648c39
Protect ISR against failure to unhook.
Michael Brown
2007-07-10 04:34:53 +01:00
4e14b020a5
Master IRQ should be EOIed first, I think.
Michael Brown
2007-07-10 04:33:59 +01:00
19871cbb96
We probably ought not to call INT13 with interrupts disabled.
Michael Brown
2007-07-10 04:32:30 +01:00
027fed72c1
Working code to call the PXE stack from within the ISR.
Michael Brown
2007-07-10 04:21:24 +01:00
976a8514cb
Hopefully solve the problem requiring the occasional "rm -rf bin/deps".
Michael Brown
2007-07-09 23:10:55 +01:00
cd7e296cbe
Always increase number of BIOS drives when registering
Michael Brown
2007-07-09 20:42:04 +01:00
b90d321dfb
Change %dl fixup rules for INT13:
Michael Brown
2007-07-09 20:37:39 +01:00
c7d9fdb5b9
Proof of concept; works, but has several hard-coded hacks.
Michael Brown
2007-07-09 20:28:40 +01:00
8bce52d348
Set CF by default, clear on success (rather than clearing and setting on failure).
Michael Brown
2007-07-09 19:02:41 +01:00
f0c44f2f71
Remove xfer_ready() (it has been replaced by xfer_window())
Michael Brown
2007-07-09 03:58:46 +01:00
55d03ccbe3
Added missing "static"
Michael Brown
2007-07-09 03:54:29 +01:00
9dc6a1e678
Remove some obsolete stream-API files
Michael Brown
2007-07-09 03:53:06 +01:00
4ff85d9f15
Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win.
Holger Lubitz
2007-06-17 22:16:31 +02:00
bfc4737751
Update Makefile for compilation on ARCH=x86_64
Holger Lubitz
2007-06-17 22:15:29 +02:00
487dc5be56
Fix up iscsiboot missing prototype warnings
Michael Brown
2007-07-09 01:10:32 +01:00
fd4fcb57db
Add missing static
Michael Brown
2007-07-09 01:04:54 +01:00
fabd0f5fec
Fix TX state machine and miscellaneous other bits.
Michael Brown
2007-07-09 00:52:45 +01:00
ef9fd938d0
Fix root-path parsing.
Michael Brown
2007-07-09 00:00:34 +01:00
cc80750694
Merge branch 'master' into iscsi-update
Michael Brown
2007-07-08 22:06:33 +01:00
7137c20ed1
Add strcspn() and strndup()
Michael Brown
2007-07-08 22:03:12 +01:00
ed20fee0cf
Make ref_get() return the reference, for cleaner code.
Michael Brown
2007-07-08 22:02:45 +01:00
b94420a52b
Ready to start testing
Michael Brown
2007-07-08 22:01:49 +01:00
edd1b173a7
Code in place to use a hypothetical SCSI interface.
Michael Brown
2007-07-08 19:33:26 +01:00
f2fa390ae6
Everything except the SCSI interface should now be present
Michael Brown
2007-07-08 18:51:56 +01:00
9b28b25332
iSCSI updated to use data-xfer interface on the socket side (TCP). SCSI interface not yet implemented.
Michael Brown
2007-07-08 16:04:13 +01:00
edded7546e
Limit xmit window to one MTU. (Path MTU discovery not yet implemented; should be done at some point.)
Michael Brown
2007-07-08 14:33:53 +01:00
3e1dd0772a
Fix typo that was preventing any DHCP option applicators from being applied.
Michael Brown
2007-07-08 14:32:20 +01:00
237e23c1c9
Add debug message when nameserver setting is applied/changed via DHCP.
Michael Brown
2007-07-08 14:31:51 +01:00
35afb379af
TCP limits advertised TCP window to size of application window obtained via xfer_window().
Michael Brown
2007-07-08 14:14:59 +01:00
b34d4d0449
Separate the "is data ready" function of xfer_seek() into an xfer_window() function, which can return a scalar rather than a boolean.
Michael Brown
2007-07-08 14:11:07 +01:00
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
Michael Brown
2007-07-08 02:10:54 +01:00
e5d8ede978
Re-added symtab to CLEANUP list
Michael Brown
2007-07-07 17:49:59 +01:00
e505ceb942
Revert "Cope with builds with differing debug options within a second of each"
Michael Brown
2007-07-07 17:49:07 +01:00
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.
Michael Brown
2007-07-07 16:43:39 +01:00
2823688a92
Revert "Replace natsemi driver with Indolent's updated one that uses the gPXE API"
Michael Brown
2007-07-07 16:40:58 +01:00
627feee265
Merge branch 'zalloc'
Michael Brown
2007-07-07 04:01:52 +01:00
436adb2890
Revert "convert to zalloc"
Michael Brown
2007-07-07 03:59:37 +01:00
85e04b5837
Revert "convert to zalloc"
Holger Lubitz
2007-07-07 01:56:37 +02:00
e3c72a3438
Revert "convert to zalloc"
Holger Lubitz
2007-07-07 01:56:27 +02:00
ac323c5e4d
Revert "convert to zalloc"
Holger Lubitz
2007-07-07 01:56:15 +02:00
50fe2159d5
Revert "convert to zalloc"
Holger Lubitz
2007-07-07 01:55:45 +02:00
a772dc4a2a
Revert "convert to zalloc"
Holger Lubitz
2007-07-07 01:55:23 +02:00
a4d3476e0e
convert to zalloc
Holger Lubitz
2007-07-06 21:08:54 +02:00
389c63d7c4
convert to zalloc
Holger Lubitz
2007-07-06 21:08:41 +02:00
32e4ca8ae3
convert to zalloc
Holger Lubitz
2007-07-06 21:08:29 +02:00
1ccb6f9dc6
convert to zalloc
Holger Lubitz
2007-07-06 21:08:21 +02:00
da3c785816
convert to zalloc
Holger Lubitz
2007-06-18 01:25:21 +02:00
2b9fb513f4
convert to zalloc
Holger Lubitz
2007-06-18 01:25:18 +02:00
7872b890fe
convert to zalloc
Holger Lubitz
2007-06-18 01:25:15 +02:00
7fa85d19b9
convert to zalloc
Holger Lubitz
2007-06-18 01:25:13 +02:00
dc6c1c294d
convert to zalloc
Holger Lubitz
2007-06-18 01:25:10 +02:00