Deleted Added
full compact
1c1
< /* $FreeBSD: head/sys/dev/isp/ispreg.h 139749 2005-01-06 01:43:34Z imp $ */
---
> /* $FreeBSD: head/sys/dev/isp/ispreg.h 154704 2006-01-23 06:23:37Z mjacob $ */
6c6
< * Copyright (c) 1997, 1998, 1999, 2000 by Matthew Jacob
---
> * Copyright (c) 1997-2006 by Matthew Jacob
373a374,379
> /*
> * Strictly speaking, it's
> * SCSI && 2100 : 8 MBOX registers
> * 2200: 24 MBOX registers
> * 2300: 32 MBOX registers
> */
377c383
< ((isp)->isp_type & ISP_HA_FC))? 8 : 6)
---
> ((isp)->isp_type & ISP_HA_FC))? 12 : 6)
380c386
< ((isp)->isp_type & ISP_HA_FC))? 0xff : 0x3f)
---
> ((isp)->isp_type & ISP_HA_FC))? 0xfff : 0x3f)
382c388,393
< #define MAX_MAILBOX 8
---
> #define MAX_MAILBOX(isp) ((IS_FC(isp))? 12 : 8)
> #define MAILBOX_STORAGE 12
> typedef struct {
> u_int16_t param[MAILBOX_STORAGE];
> u_int16_t ibits, obits;
> } mbreg_t;