ispmbox.h (157943) | ispmbox.h (160080) |
---|---|
1/* $FreeBSD: head/sys/dev/isp/ispmbox.h 157943 2006-04-21 18:30:01Z mjacob $ */ | 1/* $FreeBSD: head/sys/dev/isp/ispmbox.h 160080 2006-07-03 08:24:09Z mjacob $ */ |
2/*- 3 * Mailbox and Queue Entry Definitions for for Qlogic ISP SCSI adapters. 4 * 5 * Copyright (c) 1997-2006 by Matthew Jacob 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 31 unchanged lines hidden (view full) --- 41#define MBOX_READ_RAM_WORD 0x0005 42#define MBOX_MAILBOX_REG_TEST 0x0006 43#define MBOX_VERIFY_CHECKSUM 0x0007 44#define MBOX_ABOUT_FIRMWARE 0x0008 45 /* 9 */ 46 /* a */ 47 /* b */ 48 /* c */ | 2/*- 3 * Mailbox and Queue Entry Definitions for for Qlogic ISP SCSI adapters. 4 * 5 * Copyright (c) 1997-2006 by Matthew Jacob 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 31 unchanged lines hidden (view full) --- 41#define MBOX_READ_RAM_WORD 0x0005 42#define MBOX_MAILBOX_REG_TEST 0x0006 43#define MBOX_VERIFY_CHECKSUM 0x0007 44#define MBOX_ABOUT_FIRMWARE 0x0008 45 /* 9 */ 46 /* a */ 47 /* b */ 48 /* c */ |
49 /* d */ | 49#define MBOX_WRITE_RAM_WORD_EXTENDED 0x000d |
50#define MBOX_CHECK_FIRMWARE 0x000e 51#define MBOX_READ_RAM_WORD_EXTENDED 0x000f 52#define MBOX_INIT_REQ_QUEUE 0x0010 53#define MBOX_INIT_RES_QUEUE 0x0011 54#define MBOX_EXECUTE_IOCB 0x0012 55#define MBOX_WAKE_UP 0x0013 56#define MBOX_STOP_FIRMWARE 0x0014 57#define MBOX_ABORT 0x0015 --- 628 unchanged lines hidden (view full) --- 686 * RIO is not defined for the 23XX cards 687 */ 688#define ICBXOPT_RIO_OFF 0 689#define ICBXOPT_RIO_16BIT 1 690#define ICBXOPT_RIO_32BIT 2 691#define ICBXOPT_RIO_16BIT_IOCB 3 692#define ICBXOPT_RIO_32BIT_IOCB 4 693#define ICBXOPT_ZIO 5 | 50#define MBOX_CHECK_FIRMWARE 0x000e 51#define MBOX_READ_RAM_WORD_EXTENDED 0x000f 52#define MBOX_INIT_REQ_QUEUE 0x0010 53#define MBOX_INIT_RES_QUEUE 0x0011 54#define MBOX_EXECUTE_IOCB 0x0012 55#define MBOX_WAKE_UP 0x0013 56#define MBOX_STOP_FIRMWARE 0x0014 57#define MBOX_ABORT 0x0015 --- 628 unchanged lines hidden (view full) --- 686 * RIO is not defined for the 23XX cards 687 */ 688#define ICBXOPT_RIO_OFF 0 689#define ICBXOPT_RIO_16BIT 1 690#define ICBXOPT_RIO_32BIT 2 691#define ICBXOPT_RIO_16BIT_IOCB 3 692#define ICBXOPT_RIO_32BIT_IOCB 4 693#define ICBXOPT_ZIO 5 |
694#define ICBXOPT_TIMER_MASK 0x7 |
|
694 695#define ICBZOPT_ENA_RDXFR_RDY 0x01 696#define ICBZOPT_ENA_OOF (1 << 6) /* out of order frame handling */ | 695 696#define ICBZOPT_ENA_RDXFR_RDY 0x01 697#define ICBZOPT_ENA_OOF (1 << 6) /* out of order frame handling */ |
698#define ICBZOPT_50_OHM 0x0200 |
|
697/* These 3 only apply to the 2300 */ 698#define ICBZOPT_RATE_ONEGB (MBGSD_ONEGB << 14) 699#define ICBZOPT_RATE_TWOGB (MBGSD_TWOGB << 14) 700#define ICBZOPT_RATE_AUTO (MBGSD_AUTO << 14) 701 702 703#define ICB_MIN_FRMLEN 256 704#define ICB_MAX_FRMLEN 2112 --- 280 unchanged lines hidden --- | 699/* These 3 only apply to the 2300 */ 700#define ICBZOPT_RATE_ONEGB (MBGSD_ONEGB << 14) 701#define ICBZOPT_RATE_TWOGB (MBGSD_TWOGB << 14) 702#define ICBZOPT_RATE_AUTO (MBGSD_AUTO << 14) 703 704 705#define ICB_MIN_FRMLEN 256 706#define ICB_MAX_FRMLEN 2112 --- 280 unchanged lines hidden --- |