diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-11-23 18:21:56 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-11-23 18:21:56 +0000 |
commit | 11193c8305abc0f04801b9de03641d1d631fce7a (patch) | |
tree | 962fe8681470c641e2b06608ecd6e43d4275f6ef /sys/dev/ata/atascsi.h | |
parent | 5a9127f088e3735e2e9bfd36e35fef9ad9fef596 (diff) |
starting bits to implement hotplug of sili controllers. this adds the code
to clean up the atascsi stuff, and has sili call it when its going away.
tested on an expresscard sili variant by kettenis@
Diffstat (limited to 'sys/dev/ata/atascsi.h')
-rw-r--r-- | sys/dev/ata/atascsi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/atascsi.h b/sys/dev/ata/atascsi.h index ffe2e882ff7..5245029ff23 100644 --- a/sys/dev/ata/atascsi.h +++ b/sys/dev/ata/atascsi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.h,v 1.25 2007/04/12 13:08:34 jsg Exp $ */ +/* $OpenBSD: atascsi.h,v 1.26 2007/11/23 18:21:55 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -308,7 +308,7 @@ struct atascsi_attach_args { }; struct atascsi *atascsi_attach(struct device *, struct atascsi_attach_args *); -int atascsi_detach(struct atascsi *); +int atascsi_detach(struct atascsi *, int); int atascsi_probe_dev(struct atascsi *, int); int atascsi_detach_dev(struct atascsi *, int); |