Date: Sat, 11 Mar 1995 23:31:24 -0800 From: steve2@genesis.tiac.net (Steve Gerakines) To: freebsd-hackers@FreeBSD.org Subject: Re: configuring 2 U24F cards (fix--please commit) Message-ID: <199503120731.XAA22108@genesis.tiac.net>
next in thread | raw e-mail | index | archive | help
> Has anybody ever tried to use 2 (or more) Ultrastore U24F EISA scsi cards > in one system? If so, how does the kernel config file look like? Problem is because the driver is scanning all slots. If there was one set of code scanning the EISA slots this wouldn't be a problem. The following patch should correct it. If someone could commit this for me that would be great. - Steve steve2@genesis.tiac.net ---- 8< 8< 8< ---- *** ultra14f.c.old Fri Jan 6 23:25:46 1995 --- ultra14f.c Sat Mar 11 23:22:19 1995 *************** *** 960,965 **** --- 960,973 ---- ub->abort_ack = U24_ABORT_ACK; ub->icm_ack = U24_ICM_ACK; + /* + * Ignore cards that have already been found. + */ + for (i = 0; i < NUHA; i++) + if (uhadata[i] != NULL && uhadata[i]->baseport == port) + break; + if (i != NUHA) continue; + /* Make sure an EISA card is installed in this slot. */ outb(ur->id, 0xff); p0 = inb(ur->id); ---- EOF EOF EOF ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503120731.XAA22108>