freebsd-nq/sys/dev/ppbus
Matthew N. Dodd 15317dd875 Alter the behavior of sys/kern/subr_bus.c:device_print_child()
- device_print_child() either lets the BUS_PRINT_CHILD
	  method produce the entire device announcement message or
	  it prints "foo0: not found\n"

Alter sys/kern/subr_bus.c:bus_generic_print_child() to take on
the previous behavior of device_print_child() (printing the
"foo0: <FooDevice 1.1>" bit of the announce message.)

Provide bus_print_child_header() and bus_print_child_footer()
to actually print the output for bus_generic_print_child().
These functions should be used whenever possible (unless you can
just use bus_generic_print_child())

The BUS_PRINT_CHILD method now returns int instead of void.

Modify everything else that defines or uses a BUS_PRINT_CHILD
method to comply with the above changes.

	- Devices are 'on' a bus, not 'at' it.
	- If a custom BUS_PRINT_CHILD method does the same thing
	  as bus_generic_print_child(), use bus_generic_print_child()
	- Use device_get_nameunit() instead of both
	  device_get_name() and device_get_unit()
	- All BUS_PRINT_CHILD methods return the number of
	  characters output.

Reviewed by: dfr, peter
1999-07-29 01:03:04 +00:00
..
if_plip.c Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
immio.c Make ppbus compile under egcs. I'm not sure about this casting-to-union- 1999-04-05 15:43:11 +00:00
lpbb.c Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
lpt.c GC unused prototype 1999-06-03 22:03:35 +00:00
lpt.h Move away from lpt.h data structure definition that only lpt.c relies on. 1999-02-14 16:19:16 +00:00
lptio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ppb_1284.c Terminate negociation if Ext. link negociation succeeds. This avoids 1999-01-14 21:38:16 +00:00
ppb_1284.h Major ppbus commit with: 1999-01-10 12:04:56 +00:00
ppb_base.c Fix warnings preparing for -Wall -Wcast-qual 1999-01-27 20:09:21 +00:00
ppb_msq.c Fix warnings preparing for -Wall -Wcast-qual 1999-01-27 20:09:21 +00:00
ppb_msq.h Fix compile warnings about missing braces around static initialization of unions. 1999-01-31 11:52:04 +00:00
ppbconf.c Staticize. 1999-04-11 02:55:52 +00:00
ppbconf.h Make ppbus compile under egcs. I'm not sure about this casting-to-union- 1999-04-05 15:43:11 +00:00
ppi.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
ppi.h Distinguish EPP address/data register. Add EPP address register access to ppi. 1999-01-30 15:35:39 +00:00
pps.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
vpo.c Remove unused variable and computation, possibly leading to a 1999-06-26 14:42:17 +00:00
vpoio.c Make ppbus compile under egcs. I'm not sure about this casting-to-union- 1999-04-05 15:43:11 +00:00
vpoio.h ppbus enhanced to support ZIP+ : 1284 code added, microseq improved + 1998-09-13 18:26:26 +00:00