diff options
author | mjacob <mjacob@FreeBSD.org> | 2012-08-21 16:18:11 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2012-08-21 16:18:11 +0000 |
commit | 1db52193bc5597cd34d51394a056a80d79182744 (patch) | |
tree | c37f8e7059d9a35d2231300f0ac43775c619b6c1 /sys/dev/isp/isp_freebsd.h | |
parent | 89d46bf90af120da0abc6b1c40f1a4e43d74107e (diff) | |
download | FreeBSD-src-1db52193bc5597cd34d51394a056a80d79182744.zip FreeBSD-src-1db52193bc5597cd34d51394a056a80d79182744.tar.gz |
Remove dependence on MAXPHYS.
MFC after: 1 month
Diffstat (limited to 'sys/dev/isp/isp_freebsd.h')
-rw-r--r-- | sys/dev/isp/isp_freebsd.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index 130d084..d74d859 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -726,9 +726,6 @@ int isp_fcp_next_crn(ispsoftc_t *, uint8_t *, XS_T *); #define isp_sim_alloc(a, b, c, d, e, f, g, h) \ cam_sim_alloc(a, b, c, d, e, &(d)->isp_osinfo.lock, f, g, h) -/* Should be BUS_SPACE_MAXSIZE, but MAXPHYS is larger than BUS_SPACE_MAXSIZE */ -#define ISP_NSEGS ((MAXPHYS / PAGE_SIZE) + 1) - #define ISP_PATH_PRT(i, l, p, ...) \ if ((l) == ISP_LOGALL || ((l)& (i)->isp_dblev) != 0) { \ xpt_print(p, __VA_ARGS__); \ |