Michael Brown
cce2e47ff4
Added iSCSI boot test code
před 18 roky
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.
před 18 roky
Michael Brown
ab4f96e525
Move per-transition delays from generic bit-bashing layer to i2c layer
(since SPI bit-bashing will require different delay semantics).
před 18 roky
Michael Brown
714641ae6d
Translate between "0 = success" and "0 = failure" call standards.
před 18 roky
Michael Brown
51a36f1cfb
Change read_bit() to return 0 or -1UL, rather than 0 or 1.
před 18 roky
Michael Brown
2e49441535
Updated debug message to reflect change in data structure.
před 18 roky
Michael Brown
2138db36ca
Add "addr32" required explicitly by older gas.
před 18 roky
Michael Brown
c10698b8b4
Add NULL_TRAP as a config option
před 18 roky
Michael Brown
55bb40c39a
Fix typo
před 18 roky
Michael Brown
df4b503a8c
Added null trap code for debugging. (Must be included by adding
--nulltrap to the make target at the moment.)
před 18 roky
Michael Brown
7ce44f7480
Update to use the generic i2c bit-bashing code.
před 18 roky
Michael Brown
3ed40686c9
Added bit-bashing i2c interface code
před 18 roky
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.
před 18 roky
Michael Brown
6fd1bd0510
Added missing check-in
před 18 roky
Michael Brown
e90b64d625
Added sketch of bit-bashing interface common code
před 18 roky
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.
před 18 roky
Dan Lynch
ad1aca0634
- separated curses.c out into separate source files to optimise
library use later on
- some small mods to existing functions
před 18 roky
Michael Brown
1697c78848
Legacy drivers cannot cope with multiple active devices.
před 18 roky
Michael Brown
fdf62528ca
It's astonishing how long really fundamental bugs can survive without
being noticed...
před 18 roky
Michael Brown
191a906338
Fix some remarkably obvious mistakes in pcidirect.h
před 18 roky
Michael Brown
763b7e2ef9
We now have just romprefix, rather than having isaprefix and pciprefix
před 18 roky
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.
před 18 roky
Michael Brown
e7eca7b7cb
Code segment may not be writable; create the temporary pointer to the GDT
on the stack.
před 18 roky
Michael Brown
46253ba618
Calculate _rom_size for the ROM prefix
před 18 roky
Michael Brown
8d0c5f3302
Use byte 6 for the checksum, rather than byte 5. (Byte 5 may be part of
the jmp instruction).
před 18 roky
Michael Brown
02df45352c
Force pci.o to be included.
Print warning message at probe time.
před 18 roky
Michael Brown
754cfdfcf4
Legacy drivers will not pad when necessary
před 18 roky
Michael Brown
7826de3f7e
PNIC doesn't auto-pad.
před 18 roky
Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
před 18 roky
Michael Brown
c3e41e6fd1
Added soon-to-be-requisite missing include.
před 18 roky
Dan Lynch
34cfbf55a4
- added most slk functions
před 18 roky
Michael Brown
d78581297b
Improve tcpdump legibility.
před 18 roky
Michael Brown
6ab4b99f41
Quick hack to avoid trying to use an uninitialised net device.
před 18 roky
Michael Brown
48fb6c6dc2
Updated retry timer mechanism to incorporate smoothed RTT estimation.
AoE now uses the retry timer mechanism.
před 18 roky
Michael Brown
50415b3aca
Make DBG_DISCARD correct
před 18 roky
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.
před 18 roky
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.
před 18 roky
Michael Brown
d21fc3610f
Added sample AoE test code to tree
před 18 roky
Michael Brown
f6d20bb0f4
Put in a method to get the MAC address for the AoE target. (It's not
elegant, but it works).
před 18 roky
Michael Brown
99ef98d0bf
ATA devices are now asynchronous. The ATA layer itself now performs the
async_wait(), though we may wish to move this higher up the stack, and
consider making the block device model asynchronous. (There is only a
marginal cost for synchronous devices, since they can simply call
async_done() before returning; async_wait() will work seamlessly in this
situation).
před 18 roky
Michael Brown
cf96d325d8
Missing from previous checkin.
This is the core portion of the async I/O interface.
před 18 roky
Michael Brown
68125bc441
Added generic asynchronous operations code.
Removed data_in_len and data_out_len from ata_command structure; the
lengths are implied by the sector count and the presence of the data_in
or data_out pointers.
Changed AoE code to use subcommands by default, and made aoe_issue()
nonblocking (with completion via async_wait()).
před 18 roky
Michael Brown
73a449e96b
Added drivers/ata directory (forgot to check this in previously).
před 18 roky
Michael Brown
552b4a178e
One bit of an ASCII character can make a big difference.
před 18 roky
Michael Brown
1db1a6dad3
Added first sketch of a generic retry timer mechanism. The idea is to use
these timer objects in AoE and UDP protocols (where there is no underlying
retransmission mechanism) without requiring each protocol to implement its
own individual retry logic. Eventually, we should be able to use the same
timer code for TCP retransmissions as well.
před 18 roky
Michael Brown
6541338897
Handle multi-sector reads by splitting them into subcommands.
před 18 roky
Michael Brown
9a2a52693d
Initial AoE implementation. Limitations are:
Cannot yet handle reads of more than two sectors
No retransmission
No way to find out a target's MAC address (this proof of concept uses
broadcasts)
These limitations shall not last long! :)
před 18 roky
Michael Brown
6f998cecb3
Use separate data-in and data-out buffers.
Increase code simplicity at the expense of around 64 bytes.
před 18 roky
Michael Brown
6d6252067f
Add ETH_P_AOE
před 18 roky
Michael Brown
35b04b1514
Tidy up comment
před 18 roky