bus_if.m (48754) | bus_if.m (49195) |
---|---|
1# 2# Copyright (c) 1998 Doug Rabson 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24# SUCH DAMAGE. 25# | 1# 2# Copyright (c) 1998 Doug Rabson 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24# SUCH DAMAGE. 25# |
26# $Id: bus_if.m,v 1.11 1999/05/28 09:25:08 dfr Exp $ | 26# $Id: bus_if.m,v 1.12 1999/07/11 13:42:36 dfr Exp $ |
27# 28 29INTERFACE bus; 30 31# 32# Default implementations of some methods. 33# 34CODE { --- 6 unchanged lines hidden (view full) --- 41 return 0; 42 } 43}; 44 45# 46# This is called from system code which prints out a description of a 47# device. It should describe the attachment that the child has with 48# the parent. For instance the TurboLaser bus prints which node the | 27# 28 29INTERFACE bus; 30 31# 32# Default implementations of some methods. 33# 34CODE { --- 6 unchanged lines hidden (view full) --- 41 return 0; 42 } 43}; 44 45# 46# This is called from system code which prints out a description of a 47# device. It should describe the attachment that the child has with 48# the parent. For instance the TurboLaser bus prints which node the |
49# device is attached to. | 49# device is attached to. See bus_generic_print_child.9 for more 50# information. 51# This method returns the number of characters output. |
50# | 52# |
51METHOD void print_child { | 53METHOD int print_child { |
52 device_t dev; 53 device_t child; 54}; 55 56# 57# Called for each child device that 58# did not succeed in probing for a 59# driver. --- 139 unchanged lines hidden --- | 54 device_t dev; 55 device_t child; 56}; 57 58# 59# Called for each child device that 60# did not succeed in probing for a 61# driver. --- 139 unchanged lines hidden --- |