diff options
author | John Baldwin <jhb@FreeBSD.org> | 2009-08-20 19:17:53 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2009-08-20 19:17:53 +0000 |
commit | a56fe095f0d5fb20fc70b784acb0cd2d367d3e79 (patch) | |
tree | ee9b2a74c07c732ee357d4810494c3b6aecd6e71 /sys/dev/twe | |
parent | 497e910cd321dbdc45c010417bb7079365234fcf (diff) | |
download | src-a56fe095f0d5fb20fc70b784acb0cd2d367d3e79.tar.gz src-a56fe095f0d5fb20fc70b784acb0cd2d367d3e79.zip |
Temporarily revert the new-bus locking for 8.0 release. It will be
reintroduced after HEAD is reopened for commits by re@.
Approved by: re (kib), attilio
Notes
Notes:
svn path=/head/; revision=196403
Diffstat (limited to 'sys/dev/twe')
-rw-r--r-- | sys/dev/twe/twe.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/twe/twe.c b/sys/dev/twe/twe.c index 2641fae5e852..59b5027adac9 100644 --- a/sys/dev/twe/twe.c +++ b/sys/dev/twe/twe.c @@ -294,10 +294,8 @@ twe_init(struct twe_softc *sc) /* * Scan for drives */ - newbus_xlock(); for (i = 0; i < TWE_MAX_UNITS; i++) twe_add_unit(sc, i); - newbus_xunlock(); /* * Initialise connection with controller. @@ -623,15 +621,11 @@ twe_ioctl(struct twe_softc *sc, int ioctlcmd, void *addr) break; case TWEIO_ADD_UNIT: - newbus_xlock(); error = twe_add_unit(sc, td->td_unit); - newbus_xunlock(); break; case TWEIO_DEL_UNIT: - newbus_xlock(); error = twe_del_unit(sc, td->td_unit); - newbus_xunlock(); break; /* XXX implement ATA PASSTHROUGH */ |