summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2007-03-19 14:33:28 +0000
committerdlg <dlg@openbsd.org>2007-03-19 14:33:28 +0000
commit98855ba5cdbcb2002dde2bc8329d04f11f5b7747 (patch)
treec54cabc4d4e5006fba0711feea442fa22488b538 /sys/dev/softraid.c
parentluna88k LCD device is now user-controllable by lcd(4). (diff)
downloadwireguard-openbsd-98855ba5cdbcb2002dde2bc8329d04f11f5b7747.tar.xz
wireguard-openbsd-98855ba5cdbcb2002dde2bc8329d04f11f5b7747.zip
attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe. it is still commented out. based on a discussion with miod@ ok marco@ deraadt@
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index d3f8bed46b4..fdc9f4cd64d 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -122,12 +122,6 @@ struct scsi_device sr_dev = {
int
sr_probe(struct device *parent, void *match, void *aux)
{
- struct sr_attach_args *maa = aux;
- struct cfdata *cf = match;
-
- if (strcmp(maa->maa_name, cf->cf_driver->cd_name))
- return (0);
-
return (1);
}