Commit Graph

14 Commits

Author SHA1 Message Date
tsutsui 6d160c7919 Split device_t/softc.
Tested on:
---
qec0 at sbus0 slot 3 offset 0x20000: 128K memory
be0 at qec0 slot 0 offset 0x0 level 4 (ipl 7): rev 1, address 00:80:17:xx:xx:xx
2009-09-19 04:48:18 +00:00
tsutsui 01a44458f7 Use uint8_t pointers for TX/RX buffers to avoid extra pointer casts. 2009-09-18 14:09:42 +00:00
tsutsui 12ad76b18c Remove struct sbusdev and related functions sbus_establish() and sbusreset().
They are derived from 4.4BSD/sparc and have been there since initial import
of NetBSD/sparc in 1993, but the struct sbusdev is almost unused for years,
nothing calls sbusreset(), and all (*sd->sd_reset)() functions look bogus.

Suggested by mrg@ and martin@, and tested on SS1+ and SS20.
2009-09-17 16:28:12 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
perry 18db93c7f6 de-__P 2005-02-04 02:10:35 +00:00
pk b7d8cee837 The sc_range and sc_nrange fields are no longer used. 2004-06-30 21:41:36 +00:00
wiz 1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
thorpej 90817e313c Use the structures defined in bsd_openprom.h for "reg", "range",
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.
2002-08-23 02:53:10 +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 c830c88dd2 Convert to bus_space(9).
Add buffer allocations needed by the be driver.
1999-01-16 12:46:08 +00:00
pk 1d8ad313ab `struct rom_range' => `struct sbus_range' 1998-07-29 18:32:54 +00:00
pk 3252d462bb qec `bus' driver; much like lebuffer. 1998-07-27 19:26:32 +00:00