pk
725a6aebf7
Remove the `flags' argument from bus_intr_establish().
2002-12-10 13:44:47 +00:00
thorpej
b75a007d9f
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:51:16 +00:00
thorpej
239b192ca3
Use CFATTACH_DECL().
2002-09-30 23:07:07 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
thorpej
d1ad2ac4f2
Rather than referencing the cfdriver directly in the cfdata entries,
...
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +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
wiz
f7d76b1062
bcmp -> memcmp.
2002-05-22 16:03:14 +00:00
eeh
ddbdd7fa41
Don't use BUS_SPACE_MAP_LINEAR if you don't need to.
2002-03-20 17:57:33 +00:00
pk
f61bdee8e7
Get rid of `bus_type_t' and use BUS_ADDR() (in sbus_bus_map()) to construct
...
a `bus_addr_t' to pass on to bus_space_map().
Drop `va' argument from sbus_bus_map(); it should not be used by MI Sbus
drivers.
2002-03-11 16:00:55 +00:00
frueauf
089f361f5b
Make this work after it got broken a year ago in r1.15 (pasto?):
...
In qeattach() sc->sc_rb.rb_dmabase needs to be set after the buffer got
loaded via bus_dmamem_map(), not before.
Fixes my own pr kern/15817.
2002-03-06 19:10:58 +00:00
lukem
7ba10b3532
add RCSIDs
2001-11-13 06:54:32 +00:00
eeh
98ecb5b215
getprop* -> PROM_getprop*
2001-09-26 20:53:05 +00:00
eeh
0d30ddb30a
Properly initialize sc->sc_bustag and sc->sc_dmatag;
2001-09-12 20:09:53 +00:00
christos
95fda43dd5
make all debugging messages conditional on sc->sc_debug.
2001-03-30 17:30:18 +00:00
thorpej
00ddf90164
Use bus_dmamap_load(), not bus_dmamap_load_raw().
2001-03-08 02:20:39 +00:00
thorpej
372338915a
Use splnet() to block network interrupts, not splimp().
2001-01-14 17:37:41 +00:00
thorpej
a64a0f8137
ALTQ'ify.
2000-12-14 07:15:45 +00:00
thorpej
b84f740be0
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
2000-11-15 01:02:11 +00:00
pk
406e0f779f
Add a `device class' interrupt level argument (from machine/intr.h)
...
to bus_interrupt_establish().
It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.
2000-07-09 20:57:41 +00:00
pk
82dbe14248
No need to specify page alignment; this is automatic.
2000-05-10 14:25:43 +00:00
pk
bb1605cff5
Fix bogus `boundary' argument in bus_dmamap_create().
2000-05-10 14:16:11 +00:00
pk
1bf775b965
Conform bus_dmamem_{alloc,map} usage to bus_dma(9) specs.
2000-05-09 22:42:08 +00:00
pk
4f2e48c4d2
Don't turn on the engine too early.
...
Add and use QEDEBUG.
1999-06-24 19:59:14 +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
pk
d86e93c62a
Fix promiscuous modes - patches from Jason Wright.
1999-03-23 00:27:09 +00:00
mrg
fbda6bed6d
make this compile on SUN4U. XXX icky, reader beware.
1999-03-09 00:42:20 +00:00
mrg
4553ce553c
use <dev/sbus/sbusvar.h> not <sparc/dev/sbusvar.h>
1999-02-03 06:03:37 +00:00
pk
2fa7bdbccd
Fix AF_NS code.
1999-01-18 13:29:01 +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