bjh21
7270db5ec0
Change to semantics of irq_establish: IRQs are now enabled by default, which
...
I think is the same as all other ports.
2000-10-14 23:41:01 +00:00
bjh21
f3ef35c447
Add rudimentary 80C04 support (basically saying "Oh look, an 80C04!").
...
Move printing the initial ":" into the board driver, like i82586.c does.
Don't bother printing the amount of RAM, as it's always 64 KB.
2000-09-21 22:20:38 +00:00
bjh21
40aba7cd4d
Split the arm26 Ether3 (ea) driver into an MI driver for the SEEQ 8005 chip,
...
and a front-end driver for the Ether3. Only semantic change is to remove
ea_claimirq() and ea_releaseirq() on the grounds that the seem too spurious
to warrant a callback to the front-end.
2000-09-18 20:51:14 +00:00
bjh21
6e3e3a755d
Don't include <machine/spl.h> any more.
...
Include <machine/intr.h> everywhere than uses spl(9) functions.
2000-08-22 21:22:48 +00:00
bjh21
5317f1db63
General cleanup and factoring out of common code in ea_readbuf and ea_writebuf.
2000-08-12 18:18:52 +00:00
bjh21
7d96bc05ba
Make various types unsigned, for ease of comparison.
...
Use bus_space_read_multi_2 and bus_space_write_multi_2 to copy packets to/from
board.
2000-08-12 17:03:44 +00:00
bjh21
f096772215
Two changes for endianness-independence (when we finally split of the SEEQ 8005
...
driver and make it MI):
Set the ByteSwap bit on big-endian hosts, so we can use 16-bit transfers to get
at packets whatever.
Treat Tx/Rx headers as arrays of four bytes rather than as 32-bit words.
2000-08-12 15:29:35 +00:00
bjh21
7d83a5201a
bus_space version of if_ea.c -- should have been committed before.
...
Transmit and receive buffer sizes aren't an intrinsic property of the card,
so they belong in if_ea.c rather than if_eareg.h.
Correct some comments in if_ea.c
2000-08-12 14:06:29 +00:00
bjh21
4493200775
Use bus_space stuff. No more ReadShort and WriteShort.
...
Also a few minor cleanups.
2000-08-12 13:35:08 +00:00
bjh21
7ba12358d7
return isn't a function call
2000-08-12 12:20:17 +00:00
bjh21
b108872b97
Remove spurious reset of card in probe routine -- it can almost certainly
...
safely be left till attach time.
2000-08-12 12:15:59 +00:00
bjh21
ef01128d16
Avoid gratuitously copying data on transmission as well, and hence do away
...
with the 2k packet buffer in the softc.
2000-08-12 11:56:46 +00:00
bjh21
e801d41011
Remove void casts from splx(). It returns void anyway.
2000-08-10 23:06:38 +00:00
bjh21
c636092423
Use ETHER_IS_MULTICAST where relevant.
2000-08-10 23:03:04 +00:00
bjh21
24ab4fb4f8
Check the podule has a description before using it.
2000-08-10 22:57:01 +00:00
bjh21
2fb8a3feb8
Clean up packet reception. Notably, copy data straight from the card to
...
mbuf(s) without using the packet buffer in the softc. Also, clean up error
messages.
2000-08-10 22:43:45 +00:00
bjh21
b642a6e612
ANSIfication and general cleaning.
2000-08-08 21:16:59 +00:00
bjh21
e74a0fd322
Major formatting cleanups. If I'm going to work on this driver, I want to be
...
able to read it.
2000-08-07 22:21:44 +00:00
bjh21
f6ce16a43b
Fix up alignment of incoming payloads. BOOTP at least now works.
2000-07-22 21:30:54 +00:00
bjh21
b5d3226a07
General tidying up, notably:
...
- Get the Ethernet address from the card's description string, rather than
relying on RISC OS to set it.
- Don't mention this is a SEEQ8005 -- that's all an "ea" can be.
- Use format_bytes to display the amount of buffer RAM.
2000-07-20 20:25:10 +00:00
bjh21
6c97e2bd78
Initial commit of arm26 port
2000-05-09 21:55:44 +00:00