pk
2afd4d3aec
* remove full duplex modes for the internal transceiver
...
* internal transceiver needs to be reset for the BMSR_LINK bit to
be even remotely reliable
* because of previous, maintain link state, so we won't be sensing speed
all the time when interface flags need to be changed (e.g. entering/exiting
promiscuous mode)
* in auto-speed mode, report link condition changes on the console
1999-12-23 16:39:56 +00:00
pk
7ab5ad7988
Streamline media code a bit by some `pseudo-mii' code designed to handle
...
the on-board transceiver.
1999-12-22 16:05:12 +00:00
pk
f037f3be7e
Shuffle some code around to allow two PHYs to attach. Only one PHY can
...
be used at a time, but it's now possible to select one by using ifconfig(8)'s
`instance' parameter.
1999-12-21 21:07:42 +00:00
pk
bbbbfe896e
* Remove spurious blockade in the path to get the transceiver status word.
...
* Make sure to flip the 10baseT/100baseTX bit when doing autoselect.
* Miscellaneous cosmetics.
1999-12-20 22:23:39 +00:00
pk
d135edf1a7
#define the bit positions of the MIF I/O lines.
1999-12-20 22:19:11 +00:00
mjacob
5babd2b8c9
get back to looking at config flags
1999-12-20 00:49:58 +00:00
mjacob
e6da5abb16
Add back in inclusion of microcode and rationalize it. request/response
...
queue indices need to be u_int16_t wide.
1999-12-04 02:56:30 +00:00
pk
d5a471ccc9
Check presence of Sbus interrupt properties before using them.
...
Only one case is known to trigger this omission: a Sparc Classic
configured as X terminal.
1999-11-21 15:01:50 +00:00
thorpej
4bdf6bd731
Call mii_down() as appropriate.
1999-11-12 18:14:17 +00:00
pk
23c39b410d
Fix some diagnostic output with a patch from Jonathan O'Brien.
1999-11-05 19:00:44 +00:00
mrg
bd0928e723
find "SUNW,hme" as well as "hme". this matches the onboard
...
ultra2 hme. haven't actually tested this beyond it probing
because my scsibus is hanging. anyway, it reports:
hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:8f:7f:8f
1999-11-04 05:31:38 +00:00
thorpej
ca9b9a3b2e
Adapt to mii_phy_probe() change.
1999-11-04 00:24:00 +00:00
mjacob
44c603dd7b
Remove reference to loadable f/w.
1999-10-28 16:11:19 +00:00
mjacob
6bbb170768
We alloc xflist and dma maps in mailbox setup. We swizzle endian stuff
...
at the end of dma setup.
1999-10-14 02:16:04 +00:00
thorpej
63b8530b4e
Update for SCSPI changes.
1999-09-30 23:04:39 +00:00
thorpej
7b3258b6a7
Make the kthread API a bit more friendly to loadable kernel modules.
1999-07-06 21:44:09 +00:00
pk
a7e4d3ac4d
Add the Sbus front-end for the HME driver.
1999-06-27 12:47:52 +00:00
pk
4f2e48c4d2
Don't turn on the engine too early.
...
Add and use QEDEBUG.
1999-06-24 19:59:14 +00:00
pk
9335333dee
Issue a reset command when initializing.
1999-06-24 19:56:51 +00:00
mrg
67cbdf5623
split sbus audiocs code up so we can share it with the ebus. XXX ebus DMA is probably different.
1999-06-05 14:29:10 +00:00
pk
61e5d73035
Fix bus_size_t/size_t/int confusion.
1999-05-27 14:22:28 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
mrg
f5af676456
white space.
1999-05-16 14:47:52 +00:00
pk
569836a986
It is no longer necessary to protect bus_dma_[un]load() at splbio, since
...
sparc bus_dma*() functions now protect their own internals..
1999-04-25 10:40:53 +00:00
pk
52db3a158e
Correct QESTAT `%b' format string.
1999-04-20 20:24:39 +00:00
pk
401d03761f
Initialize automatics in stp4020print(); noticed by Jonathan O'Brien.
1999-03-29 21:30:48 +00:00
cjs
5ecfcfbb96
Make `sun4m DMA not supported yet' message print only for this device,
...
rather than every sbus device probed.
1999-03-29 12:04:43 +00:00
mjacob
d8aa229a12
roll internal release tag
1999-03-26 22:45:17 +00:00
mjacob
3cafeadabd
Add support for the PTI SBS430. It's a FAS200 type chip- it's a bit funky
...
in that the registers aren't spread by a longword like all the other SBus/ESP
cards. Otherwise it's much the same. It'll make Brad Salai happy.
1999-03-26 06:48:40 +00:00
pk
54ae4d24b8
Call bus_dma_[un]load() at splbio.
1999-03-23 00:38:15 +00:00
pk
d86e93c62a
Fix promiscuous modes - patches from Jason Wright.
1999-03-23 00:27:09 +00:00
eeh
b71ea6aad4
Use correctly bus_space_*() macros to access device registers.
1999-03-19 02:32:48 +00:00
mjacob
c312dfb410
prototype 1080/1240 support caused register offset rewhack
1999-03-17 06:17:16 +00:00
mrg
fbda6bed6d
make this compile on SUN4U. XXX icky, reader beware.
1999-03-09 00:42:20 +00:00
pk
87ae97e3f0
Fix what is probably a past-o.
1999-02-28 17:01:49 +00:00
pk
5c062abb64
Fix the bus print function.
1999-02-27 22:21:13 +00:00
pk
331694119a
Our device name differs from the PROMs node name.
1999-02-27 13:17:08 +00:00
pk
c6c74098d0
Don't try to use the MII routines for the internal PHY.
1999-02-19 14:57:00 +00:00
mycroft
71105fbda7
Update comments.
1999-02-17 21:44:55 +00:00
mycroft
e5f5e628d2
Pass the direction to the allocm and round_buffersize methods.
...
Some drivers need this to properly allocate DMAable memory.
1999-02-17 02:37:38 +00:00
mjacob
1a911bb798
roll internal release level
1999-02-09 00:54:07 +00:00
mrg
4553ce553c
use <dev/sbus/sbusvar.h> not <sparc/dev/sbusvar.h>
1999-02-03 06:03:37 +00:00
mjacob
5c5ac2958f
roll internal release tag and finally use bus_space I/O
1999-01-30 07:10:38 +00:00
pk
2fa7bdbccd
Fix AF_NS code.
1999-01-18 13:29:01 +00:00
pk
fb846bde24
Share ring buffer code and data structure for be' and
qe' in
...
the QEC module. Adapt the QEC interrupt establish code to suit the
needs of the `qe' device.
1999-01-17 20:47:50 +00:00
pk
ad3176f350
Add `qe' network interface device.
1999-01-17 20:44:58 +00:00
pk
5e8fcd9428
Import Jason Wright's Sbus Quad ethernet (`qe') driver as found in OpenBSD.
...
Heavily pounded on by me to make it fit our driver model.
Also added: auto media selection; shared ring buffer code with `be'.
1999-01-17 20:44:18 +00:00
pk
6d1f55bc7a
Initial revision
1999-01-16 13:19:11 +00:00
pk
c830c88dd2
Convert to bus_space(9).
...
Add buffer allocations needed by the be driver.
1999-01-16 12:46:08 +00:00
pk
e0e761e420
Import Jason Wright's Bigmac driver, written for OpenBSD.
...
Heavily pounded on by me to make it fit our driver model.
1999-01-16 12:43:09 +00:00