diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-10-07 05:06:38 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-10-07 05:06:38 +0000 |
| commit | 3d9841b4eba72bcc8120a303bf83bd4df32f8fb7 (patch) | |
| tree | 0417b6b7c3c0f92dbc2cd75b6e73c8c65368a717 | |
| parent | c814aa3fdb02d7538022b8ad88a942d8eec1f21d (diff) | |
Notes
| -rw-r--r-- | sys/kern/bus_if.m | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/kern/bus_if.m b/sys/kern/bus_if.m index 7b8a13501e9b..0529220c7452 100644 --- a/sys/kern/bus_if.m +++ b/sys/kern/bus_if.m @@ -258,3 +258,25 @@ METHOD int child_present { device_t _dev; device_t _child; } DEFAULT bus_generic_child_present; + +# +# Returns the pnp info for this device. Return it as a string. If the +# string is insufficient for the storage, then return EOVERFLOW. +# +METHOD int child_pnpinfo_str { + device_t _dev; + device_t _child; + char *_buf; + size_t _buflen; +}; + +# +# Returns the location for this device. Return it as a string. If the +# string is insufficient for the storage, then return EOVERFLOW. +# +METHOD int child_location_str { + device_t _dev; + device_t _child; + char *_buf; + size_t _buflen; +}; |
