Michael Brown
8637834031
Made the temporary buffer part of the TCP senddata() API, to ease the
transition away from uIP.
Prepared ipv4.c for transition away from uIP.
18 jaren geleden
Michael Brown
3c8aafa209
Simplify RX data path.
Kill off the static single net device and move to proper dynamic
registration (which we need with the new device model).
Break the (flawed) assumption that all network-layer protocols can use
ARP; such network-layer protocols (i.e. IPv4) must now register as an ARP
protocol using ARP_NET_PROTOCOL() and provide a single method for checking
the existence of a local network-layer address.
18 jaren geleden
Michael Brown
8aeead7c1c
Remove dependency on arptable[] (which is no longer used).
18 jaren geleden
Michael Brown
d393e61d8a
Temporary hack to work around the "TX overflow" problem in the interim
period before updating to the new driver API (which can cope with
having TX packets in progress).
18 jaren geleden
Michael Brown
52de4935f9
Add 4 bytes to maximum frame length to allow for the frame checksum.
(This actually matters once you try using TCP, because you *will*
receive full-sized frames.)
18 jaren geleden
Michael Brown
7c76791730
Improve debugging output for legacy wrapper
18 jaren geleden
Michael Brown
e5865e796b
Forward-port event queue fixes from 5.4 tree.
18 jaren geleden
Michael Brown
a20c565ef3
Forward-port start-of-day fixes from 5.4 tree
18 jaren geleden
Michael Brown
50ab8c0e5b
Forward-port reset-related changes from 5.4 tree.
18 jaren geleden
Michael Brown
968501e323
For consistency
18 jaren geleden
Michael Brown
bcdcd796fb
32kB window is actually larger than our typical receive ring size.
Shrink to 4kB for now. We might want to see if it can be made
genuinely indicative of the RX ring size in the new TCP
implementation.
18 jaren geleden
Michael Brown
bbd9e28061
Simplify TX datapath.
18 jaren geleden
Michael Brown
cce2e47ff4
Added iSCSI boot test code
18 jaren geleden
Michael Brown
3b51c719d3
Generalise three-wire interface to generic SPI interface.
Update rtl8139 driver to instantiate an SPI interface with a three-wire
device attached.
18 jaren geleden
Michael Brown
ab4f96e525
Move per-transition delays from generic bit-bashing layer to i2c layer
(since SPI bit-bashing will require different delay semantics).
18 jaren geleden
Michael Brown
714641ae6d
Translate between "0 = success" and "0 = failure" call standards.
18 jaren geleden
Michael Brown
51a36f1cfb
Change read_bit() to return 0 or -1UL, rather than 0 or 1.
18 jaren geleden
Michael Brown
2e49441535
Updated debug message to reflect change in data structure.
18 jaren geleden
Michael Brown
2138db36ca
Add "addr32" required explicitly by older gas.
18 jaren geleden
Michael Brown
c10698b8b4
Add NULL_TRAP as a config option
18 jaren geleden
Michael Brown
55bb40c39a
Fix typo
18 jaren geleden
Michael Brown
df4b503a8c
Added null trap code for debugging. (Must be included by adding
--nulltrap to the make target at the moment.)
18 jaren geleden
Michael Brown
7ce44f7480
Update to use the generic i2c bit-bashing code.
18 jaren geleden
Michael Brown
3ed40686c9
Added bit-bashing i2c interface code
18 jaren geleden
Michael Brown
476d02051f
Windows Server 2003 sulks if we feed it an empty region in base memory
as a result of our memory map editing, so strip out any empty regions.
18 jaren geleden
Michael Brown
6fd1bd0510
Added missing check-in
18 jaren geleden
Michael Brown
e90b64d625
Added sketch of bit-bashing interface common code
18 jaren geleden
Michael Brown
17eea9f933
Fix bug with >256 cylinders.
Allow our functions to return a non-zero, non-error status (since the
INT 13 Extensions Check has to return the API version in the register
that is otherwise always used for the error code).
Report a non-zero API version from the INT 13 Extensions Check; GRUB
now uses extended reads.
18 jaren geleden
Dan Lynch
ad1aca0634
- separated curses.c out into separate source files to optimise
library use later on
- some small mods to existing functions
18 jaren geleden
Michael Brown
1697c78848
Legacy drivers cannot cope with multiple active devices.
18 jaren geleden
Michael Brown
fdf62528ca
It's astonishing how long really fundamental bugs can survive without
being noticed...
18 jaren geleden
Michael Brown
191a906338
Fix some remarkably obvious mistakes in pcidirect.h
18 jaren geleden
Michael Brown
763b7e2ef9
We now have just romprefix, rather than having isaprefix and pciprefix
18 jaren geleden
Michael Brown
ef37f78cbe
Cut out almost all the optional code paths, drastically simplifying the
flow of control through this code.
We now always add PCI and PnP headers even for ISA ROMs; there's no harm
in doing so.
UNDI loader is still missing.
18 jaren geleden
Michael Brown
e7eca7b7cb
Code segment may not be writable; create the temporary pointer to the GDT
on the stack.
18 jaren geleden
Michael Brown
46253ba618
Calculate _rom_size for the ROM prefix
18 jaren geleden
Michael Brown
8d0c5f3302
Use byte 6 for the checksum, rather than byte 5. (Byte 5 may be part of
the jmp instruction).
18 jaren geleden
Michael Brown
02df45352c
Force pci.o to be included.
Print warning message at probe time.
18 jaren geleden
Michael Brown
754cfdfcf4
Legacy drivers will not pad when necessary
18 jaren geleden
Michael Brown
7826de3f7e
PNIC doesn't auto-pad.
18 jaren geleden
Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
18 jaren geleden
Michael Brown
c3e41e6fd1
Added soon-to-be-requisite missing include.
18 jaren geleden
Dan Lynch
34cfbf55a4
- added most slk functions
18 jaren geleden
Michael Brown
d78581297b
Improve tcpdump legibility.
18 jaren geleden
Michael Brown
6ab4b99f41
Quick hack to avoid trying to use an uninitialised net device.
18 jaren geleden
Michael Brown
48fb6c6dc2
Updated retry timer mechanism to incorporate smoothed RTT estimation.
AoE now uses the retry timer mechanism.
18 jaren geleden
Michael Brown
50415b3aca
Make DBG_DISCARD correct
18 jaren geleden
Michael Brown
1f394c2f7c
Backing out last change; no immediate plans to make the whole block-device
layer asynchronous, so keeping the sync/async boundary within aoedev.c
seems cleanest for now.
18 jaren geleden
Michael Brown
d6866202f9
Until we have a functioning UDP stack and PXE API again, there's not much
point trying to use the old boot sequence. Replaced with a call to the
AoE demo code, so that people can at least build and try something useful.
18 jaren geleden
Michael Brown
d21fc3610f
Added sample AoE test code to tree
18 jaren geleden