diff options
| author | Scott Long <scottl@FreeBSD.org> | 2009-07-10 08:18:08 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2009-07-10 08:18:08 +0000 |
| commit | 52c9ce25d8339ad0228be8aaf0e44b45314b38dc (patch) | |
| tree | 65347229e3752769c4a701bd5f5308b2c8b4bf03 /sys/dev/trm | |
| parent | f6c09dd6a8f15f3093d0e4eb226ce6ac0ab1c991 (diff) | |
Notes
Diffstat (limited to 'sys/dev/trm')
| -rw-r--r-- | sys/dev/trm/trm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/trm/trm.h b/sys/dev/trm/trm.h index 21248835a510..97b318ae8c13 100644 --- a/sys/dev/trm/trm.h +++ b/sys/dev/trm/trm.h @@ -94,7 +94,8 @@ typedef struct _SGentry { #define TRM_MAX_CMD_PER_LUN 32 #define TRM_MAX_SRB_CNT 256 #define TRM_MAX_START_JOB 256 -#define TRM_NSEG (btoc(MAXPHYS) + 1) +#define TRM_MAXPHYS (128 * 1024) +#define TRM_NSEG (btoc(TRM_MAXPHYS) + 1) #define TRM_MAXTRANSFER_SIZE 0xFFFFFF /* restricted by 24 bit counter */ #define PAGELEN 4096 |
