-/* $OpenBSD: mpii.c,v 1.33 2010/07/15 23:52:32 dlg Exp $ */
+/* $OpenBSD: mpii.c,v 1.34 2010/07/16 01:23:11 dlg Exp $ */
/*
* Copyright (c) 2010 Mike Belopuhov <mkb@crypt.org.ru>
* Copyright (c) 2009 James Giannoules
/* scsi ioctl from sd device */
int (*sc_ioctl)(struct device *, u_long, caddr_t);
- struct rwlock sc_lock;
-
int sc_nsensors;
struct ksensor *sc_sensors;
struct ksensordev sc_sensordev;
goto free_dev;
}
- rw_init(&sc->sc_lock, "mpii_lock");
-
/* we should be good to go now, attach scsibus */
sc->sc_link.adapter = &mpii_switch;
sc->sc_link.adapter_softc = sc;