Date: Thu, 2 Mar 1995 00:11:28 -0800 From: steve2@genesis.tiac.net (Steve Gerakines) To: freebsd-hackers@FreeBSD.org Subject: Re: Driver question (bug?) Message-ID: <199503020811.AAA15078@genesis.tiac.net>
next in thread | raw e-mail | index | archive | help
> Note that I only could get it to work when the U24F BIOS was enabled. How do you disable the BIOS on the 24F?? I am also looking for a description of some of the jumpers on it. It came with my Gateway/2000 and basically all the manual says is "don't mess with them". :-) > This is on 1.1.5 BTW, I haven't yet tried it with >= 2.0 There was a bug in the 24F attach for versions <= 2.0. I submitted a fix a while back (after 2.0R :-() that took care of it. Since it is also applicable to anyone still using 1.1.5 here it is again if you missed it. The driver was trying to ignore cards that were in wd emulation mode, but the config value being checked is apparently not consistent on all cards. - Steve steve2@genesis.tiac.net ---- 8< 8< 8< ---- *** ultra14f.c.2 Thu Nov 10 01:18:29 1994 --- ultra14f.c Fri Jan 6 23:25:46 1995 *************** *** 921,928 **** uha24_init(unit) int unit; { ! unsigned char p0, p1, p2, p3, p5, p6, p7; ! unsigned char id[7], rev, emu, haid; int slot, port, irq, i; int resetcount = 4000; struct uha_data *uha = uhadata[unit]; --- 921,928 ---- uha24_init(unit) int unit; { ! unsigned char p0, p1, p2, p3, p5, p7; ! unsigned char id[7], rev, haid; int slot, port, irq, i; int resetcount = 4000; struct uha_data *uha = uhadata[unit]; *************** *** 988,999 **** /* We have the card! Grab remaining config. */ p5 = inb(ur->config); - p6 = inb(ur->config+1); p7 = inb(ur->config+2); - - /* If the 24F is currently emulating an ISA device, leave. */ - emu = ((p6 & 0x04) >> 1) | ((p5 & 0x08) >> 3); - if (emu != 3) return(ENODEV); switch (p5 & 0xf0) { case 0x10: irq = 15; break; --- 988,994 ---- ---- EOF EOF EOF ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503020811.AAA15078>