Date: Thu, 12 Jan 1995 10:08:02 +0100 (MET) From: Mikael Hybsch <micke@dynas.se> To: hackers@FreeBSD.org Subject: Patch to support NCR 53C815 based SCSI controller Message-ID: <Pine.SOL.3.91.950112095425.22178A-100000@spirit>
next in thread | raw e-mail | index | archive | help
The following patch made FreeBSD 2.0R run on my new P90 machine. The leaflet included with the card says that a 815 is a 825 with automatic SCSI termination. I have been running FreeBSD on this machine for over a week now without any problems. --- sys/i386/pci/ncr.c.old Wed Jan 4 14:35:12 1995 +++ sys/i386/pci/ncr.c Thu Jan 12 09:50:50 1995 @@ -1259,6 +1259,7 @@ #define NCR_810_ID (0x00011000ul) #define NCR_825_ID (0x00031000ul) +#define NCR_815_ID (0x00041000ul) #ifdef __NetBSD__ @@ -3118,7 +3119,8 @@ if (!pci_targmatch(cf, pa)) return 0; if (pa->pa_id != NCR_810_ID && - pa->pa_id != NCR_825_ID) + pa->pa_id != NCR_825_ID && + pa->pa_id != NCR_815_ID) return 0; return 1; @@ -3136,6 +3138,9 @@ case NCR_825_ID: return ("ncr 53c825 wide scsi"); + + case NCR_815_ID: + return ("ncr 53c815 wide scsi"); } return (0); } @@ -3243,6 +3248,7 @@ np->maxwide = 0; break; case NCR_825_ID: + case NCR_815_ID: np->maxwide = 1; break; } -- Mikael Hybsch Email: micke@dynas.se DynaSoft, Dynamic Software AB Phone: +46-8-615 84 00 Hammarby Fabriksv 13, Box 92058 Fax: +46-8-641 92 00 S-120 06 STOCKHOLM, SWEDEN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91.950112095425.22178A-100000>