bjh21
7a42a10e95
Gratuitous spelling corrections:
...
10base2 -> 10BASE2
10baseT -> 10BASE-T
10baseFL -> 10BASE-FL
2001-06-28 23:01:55 +00:00
bjh21
e66c66730e
Remove <arch/arm26/podulebus/podulebus.h>. Podulebus driverd now include
...
<dev/podulebus/podulebus.h>.
2001-04-19 13:47:07 +00:00
bjh21
5c98fe3fec
Gratuitous change of signature for podulebus_irq_establish(). It now takes
...
an opaque podulebus_intr_handle_t, which can be found in podulebus_attach_args.
It's actually the slot number, but don't tell anyone.
2001-03-18 15:56:04 +00:00
bjh21
16198f2b92
Podulebus convergence:
...
pa_memc_[th] -> pa_mod_[th]
Add pa_easi_*
Add pa_*_base
Add pa_slot_flags to indicate whether EASI is supported.
2001-03-17 21:56:06 +00:00
bjh21
697e84ed46
Update for new location of podules.h and podule_data.h
2001-03-17 20:34:43 +00:00
bjh21
f942342607
Fix a typo in the last change (eh_init_media -> eh_media_init).
2001-02-13 18:20:57 +00:00
thorpej
043e519d55
Adjust the way that media is initialized on DP8390-compatible
...
chips. The dp8390_softc now has media_init and media_fini
function pointers that do the work.
2001-02-12 18:49:03 +00:00
bjh21
f32fc0fc90
Use evcnts properly for interrupt counting.
...
The architecture here follows that of the vax port -- each device has its
evcnt in its softc, but defers actually incrementing it to the IRQ
dispatcher. This way, devices can attach sub-counts (e.g. Rx and Tx counts
for Ethernet interfaces), but don't all have to have code to increment the
counters.
Drivers deliberately call evcnt_attach_dynamic() before establishing their
interrupt handler so that the establish routine can attach a parent event if
that's appropriate. At present, it isn't.
2001-01-23 22:07:59 +00:00
bjh21
2b076072d3
Add a "name" argument to irq_establish and friends, in imitation of arm32.
2001-01-07 15:56:01 +00:00
bjh21
0c0d8f3775
Support for identifying MAUs attached to EtherLan 200-series cards.
2000-12-22 22:21:37 +00:00
bjh21
15d214bd18
Looks like I got the state of the link-detect bit inverted. Fixing that
...
gets me working auto-media selection, which is nice.
2000-12-20 23:08:44 +00:00
bjh21
9ca53819f0
Actually use 10baseT when we say we will.
2000-12-20 22:48:15 +00:00
bjh21
f8e732cd45
Use the podule loader code to get at the card description the official way,
...
and get our Ethernet address from there. This works on both of my cards.
2000-12-20 10:59:32 +00:00
bjh21
5b4c3dc909
Disable media autoselection entirely, but use whatever medium the card was
...
found using (presumably having been set up by RISC OS) as the default.
NB that this doesn't seem to be right for the EtherLan 200.
2000-12-20 00:01:56 +00:00
bjh21
c25ab2f1ec
Rudimentary facilities for extracting the card's Ethernet address from the
...
ROM. Only works on one of my two cards, though. It looks like we'll need
to use the RISC OS loader on the podule to get this right. *mutter*
2000-12-18 00:46:47 +00:00
bjh21
4942923809
Handle detecting the available media and state of medium selection links
...
on EtherLan 100 (and presumably 500) boards.
2000-12-17 22:29:26 +00:00
bjh21
72735aa75a
Correct embarrassing null-pointer-dereference bug. Also fixes interrupt
...
enabling.
Default to 10base2 for now, since automatic media selection doesn't work.
2000-12-16 18:24:36 +00:00
bjh21
cb5273b547
First attempt at an EtherH driver. Can just about transmit and receive
...
packets. Interrupt enabling is left to the RISC OS driver, medium selection
is untested and it's hard-wired to the MAC address of my card. Not really
for production use.
2000-12-01 14:28:36 +00:00