Marty Connor
eefac0e258
eth_ntoa and warnings fixups
18 years ago
Marty Connor
d4b060be3b
eth_ntoa and warnings fixups
18 years ago
Marty Connor
f4d0f2e5b5
eth_ntoa and warnings fixups
18 years ago
Marty Connor
9e71390930
eth_ntoa and warnings fixups
18 years ago
Marty Connor
447ed77525
eth_ntoa and warnings fixups
18 years ago
Marty Connor
3ffeffebb2
eth_ntoa and warnings fixups
18 years ago
Marty Connor
c0e91255d0
eth_ntoa fixups
18 years ago
Marty Connor
fe62800bad
eth_ntoa fixups
18 years ago
Marty Connor
637411c2ab
eth_ntoa fixups
18 years ago
Marty Connor
3df3ac72e1
eth_ntoa fixups
18 years ago
Marty Connor
896f871fba
eth_ntoa fixups
18 years ago
Marty Connor
077bbc220a
eth_ntoa fixup
18 years ago
Marty Connor
338a6de549
eth_ntoa fixup, some warnings fixups (isa/pnp fixups still needed)
18 years ago
Marty Connor
5a39995f8b
eth_ntoa fixup, _disable arg fixup
18 years ago
Marty Connor
a9cb4ca079
DBG MAC addr printout in driver
18 years ago
Marty Connor
a998286c8b
change MAC address printout to DBG using eth_ntoa (temporary legacy support)
18 years ago
Marty Connor
b41f754e3a
Fix compile warnings, remove unused var
18 years ago
Marty Connor
08d7ea1d34
Fixed DBG macro format, fixed compile warnings. removed extra parameter from mtd80x_disable(...)
18 years ago
Marty Connor
35f90278a8
Remove nic_disable call from drivers. Call should be made at a higher level
18 years ago
Marty Connor
1ed6e69ea5
Remove printf of MAC address in driver.
18 years ago
Michael Brown
21bc2015f2
Fix gcc-induced reference to memcpy
18 years ago
Michael Brown
bb3df618b8
Remove old-style debug message
18 years ago
Michael Brown
97439cb6eb
Kill off poll_interruptions(); it is lethal when we're acting as a PXE
stack or INT 13 emulator etc.
18 years ago
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 years ago
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 years ago
Michael Brown
7c76791730
Improve debugging output for legacy wrapper
18 years ago
Michael Brown
e5865e796b
Forward-port event queue fixes from 5.4 tree.
18 years ago
Michael Brown
a20c565ef3
Forward-port start-of-day fixes from 5.4 tree
18 years ago
Michael Brown
50ab8c0e5b
Forward-port reset-related changes from 5.4 tree.
18 years ago
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 years ago
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 years ago
Michael Brown
714641ae6d
Translate between "0 = success" and "0 = failure" call standards.
18 years ago
Michael Brown
51a36f1cfb
Change read_bit() to return 0 or -1UL, rather than 0 or 1.
18 years ago
Michael Brown
2e49441535
Updated debug message to reflect change in data structure.
18 years ago
Michael Brown
7ce44f7480
Update to use the generic i2c bit-bashing code.
18 years ago
Michael Brown
3ed40686c9
Added bit-bashing i2c interface code
18 years ago
Michael Brown
e90b64d625
Added sketch of bit-bashing interface common code
18 years ago
Michael Brown
1697c78848
Legacy drivers cannot cope with multiple active devices.
18 years ago
Michael Brown
02df45352c
Force pci.o to be included.
Print warning message at probe time.
18 years ago
Michael Brown
754cfdfcf4
Legacy drivers will not pad when necessary
18 years ago
Michael Brown
7826de3f7e
PNIC doesn't auto-pad.
18 years ago
Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
18 years ago
Michael Brown
c3e41e6fd1
Added soon-to-be-requisite missing include.
18 years ago
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 years ago
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).
18 years ago
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()).
18 years ago
Michael Brown
6541338897
Handle multi-sector reads by splitting them into subcommands.
18 years ago
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! :)
18 years ago
Michael Brown
6f998cecb3
Use separate data-in and data-out buffers.
Increase code simplicity at the expense of around 64 bytes.
18 years ago
Michael Brown
70ef6dbb7c
Rewrote to use the new net driver API, the updated PCI API, and the
generic three-wire serial device support for EEPROM access.
18 years ago