freebsd-src/share
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
..
colldef Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5. 1999-06-08 02:25:19 +00:00
dict Note that we have removed some words form the original. 1998-12-25 00:56:09 +00:00
doc Represent the value 2**32 correctly in nroff. Previously, the troff 1999-04-05 01:53:39 +00:00
examples Explicitly list the i/o addresses of the serial ports. 1999-07-28 20:28:54 +00:00
info Print a human-readable warning and die if $INFODIR do not exist. 1998-05-09 22:15:19 +00:00
isdn upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
man Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
me Add $Id$, to make it simpler for members of the translation teams to 1999-07-12 21:02:10 +00:00
misc FreeBSD-3.0 is a snapshot from -current, while 3.1 and 3.2 1999-05-02 16:23:53 +00:00
mk add support to buildworld as a normal user: 1999-06-24 22:50:24 +00:00
mklocale Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5. 1999-06-08 02:25:19 +00:00
skel Nuked setting of crt here too. 1998-09-02 14:10:22 +00:00
syscons - Fix Belgian keyboard map (be.iso.kbd). 1999-07-07 13:20:12 +00:00
tabset 444 -> ${SHAREMODE} 1998-01-03 14:13:48 +00:00
termcap lable -> label 1998-06-23 05:30:26 +00:00
timedef Correct typo 1999-07-12 15:56:32 +00:00
zoneinfo Copy from vendor branch. This mainly undoes most of the backing out of 1999-02-08 06:29:10 +00:00
Makefile oops- I must have had a mangeld Entries 1998-12-28 21:51:49 +00:00
Makefile.inc Reverted part of previous change and improved formatting. Switching 1998-03-07 09:06:09 +00:00