summaryrefslogtreecommitdiffstats
path: root/sys/dev/dpt/dpt.h
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1998-09-22 04:55:07 +0000
committergibbs <gibbs@FreeBSD.org>1998-09-22 04:55:07 +0000
commitb81f0d6e514649734bd32ac4818f0135574a8899 (patch)
tree770a19a4b93abadfe7d6af1a4cd2f482b62fcafe /sys/dev/dpt/dpt.h
parent1221790ff3c9e4d8796ffb8a65902317562749f7 (diff)
downloadFreeBSD-src-b81f0d6e514649734bd32ac4818f0135574a8899.zip
FreeBSD-src-b81f0d6e514649734bd32ac4818f0135574a8899.tar.gz
dpt.h:
Bump the lun field in the eata ccb to 5 bits. We still only use 3 of them, but we may use the rest at a later date. dpt_scsi.c: Default to only 32 S/G segments. Bzero our CCB array after allocation.
Diffstat (limited to 'sys/dev/dpt/dpt.h')
-rw-r--r--sys/dev/dpt/dpt.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/dpt/dpt.h b/sys/dev/dpt/dpt.h
index 79f4de4..af59b81 100644
--- a/sys/dev/dpt/dpt.h
+++ b/sys/dev/dpt/dpt.h
@@ -40,7 +40,7 @@
*/
-#ident "$Id: dpt.h,v 1.2 1998/09/15 08:33:31 gibbs Exp $"
+#ident "$Id: dpt.h,v 1.3 1998/09/20 07:19:52 gibbs Exp $"
#ifndef _DPT_H
#define _DPT_H
@@ -191,9 +191,6 @@ typedef void *physaddr;
#define MAX_METHOD_2 16 /* Max Devices For Method 2 */
#define MAX_PCI_BUS 16 /* Maximum # Of Busses Allowed */
-#define SG_SIZE 64
-#define SG_SIZE_BIG 252 /* max. 8096 elements, 64k */
-
#define DPT_MAX_RETRIES 2
#define READ 0
@@ -618,8 +615,7 @@ typedef struct eata_ccb {
u_int8_t cp_id :5, /* SCSI Device ID of target */
cp_channel :3; /* SCSI Channel # of HBA */
- u_int8_t cp_LUN :3,
- :2,
+ u_int8_t cp_LUN :5,
cp_luntar :1, /* CP is for target ROUTINE */
cp_dispri :1, /* Grant disconnect privilege */
cp_identify :1; /* Always TRUE */
OpenPOWER on IntegriCloud