summaryrefslogtreecommitdiffstats
path: root/sys/dev/ichsmb/ichsmb_var.h
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2005-06-10 16:12:43 +0000
committertakawata <takawata@FreeBSD.org>2005-06-10 16:12:43 +0000
commit024ebcc52b509051395cceb59fa99050e956b50c (patch)
tree2cd076dd2fc7197365fd6d324bae56838d28caab /sys/dev/ichsmb/ichsmb_var.h
parent6ee6d8891675b656ba92d6c73aa98b03a975c2fe (diff)
downloadFreeBSD-src-024ebcc52b509051395cceb59fa99050e956b50c.zip
FreeBSD-src-024ebcc52b509051395cceb59fa99050e956b50c.tar.gz
Make ichsmb(4) child device handling properly.
Diffstat (limited to 'sys/dev/ichsmb/ichsmb_var.h')
-rw-r--r--sys/dev/ichsmb/ichsmb_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ichsmb/ichsmb_var.h b/sys/dev/ichsmb/ichsmb_var.h
index d8def6d..a7d0dcb 100644
--- a/sys/dev/ichsmb/ichsmb_var.h
+++ b/sys/dev/ichsmb/ichsmb_var.h
@@ -48,6 +48,7 @@ struct ichsmb_softc {
/* Device/bus stuff */
device_t dev; /* this device */
+ device_t smb; /* smb device */
struct resource *io_res; /* i/o port resource */
int io_rid; /* i/o port bus id */
bus_space_tag_t io_bst; /* bus space tag */
@@ -85,6 +86,7 @@ extern void ichsmb_device_intr(void *cookie);
extern void ichsmb_release_resources(sc_p sc);
extern int ichsmb_probe(device_t dev);
extern int ichsmb_attach(device_t dev);
+extern int ichsmb_detach(device_t dev);
#endif /* _DEV_ICHSMB_ICHSMB_VAR_H */
OpenPOWER on IntegriCloud