summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authornon <non@FreeBSD.org>2001-11-03 08:55:34 +0000
committernon <non@FreeBSD.org>2001-11-03 08:55:34 +0000
commita0da3013c6b8329da400c8f28b2e55525f0b4aa0 (patch)
treec779f68e2a8463f8d4db5b6ca794d6adb2d04cbb /sys/cam
parent5d791806c8067b623a51e47e1cdf6d4e9863b3f9 (diff)
downloadFreeBSD-src-a0da3013c6b8329da400c8f28b2e55525f0b4aa0.zip
FreeBSD-src-a0da3013c6b8329da400c8f28b2e55525f0b4aa0.tar.gz
Remove PAO3 dependent part.
This will not affect either -current nor -stable.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_low.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/cam/scsi/scsi_low.c b/sys/cam/scsi/scsi_low.c
index 6099cd4..f2f8d63 100644
--- a/sys/cam/scsi/scsi_low.c
+++ b/sys/cam/scsi/scsi_low.c
@@ -115,7 +115,7 @@
#include <cam/scsi/scsi_low.h>
-#if !defined(__FreeBSD__) || __FreeBSD_version < 400001
+#if !defined(__FreeBSD__)
#include <i386/i386/cons.h>
#else
#include <sys/cons.h>
@@ -958,9 +958,6 @@ scsi_low_cam_rescan_callback(periph, ccb)
xpt_free_path(ccb->ccb_h.path);
free(ccb, M_DEVBUF);
-#if __FreeBSD_version < 400001
- free(periph, M_DEVBUF);
-#endif
}
static void
@@ -969,10 +966,6 @@ scsi_low_rescan_bus_cam(slp)
{
struct cam_path *path;
union ccb *ccb = malloc(sizeof(union ccb), M_DEVBUF, M_WAITOK);
-#if __FreeBSD_version < 400001
- struct cam_periph *xpt_periph = malloc(sizeof(struct cam_periph),
- M_DEVBUF, M_WAITOK);
-#endif
cam_status status;
bzero(ccb, sizeof(union ccb));
OpenPOWER on IntegriCloud