Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2000 11:36:09 -0800
From:      "John Fitzgibbon" <fitz@jfitz.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Help! - need installation floppies with patched driver
Message-ID:  <002601bf8c5a$8924d160$040ba8c0@fitz>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_001D_01BF8C17.296CDD00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I was wondering if someone could build me images of the (3.4 stable) =
installation floppies with the following driver patch incorporated. I =
want to download 3.4, but the driver for my network card locks up the PC =
during the installation. If I can get past the install, I can patch the =
kernel. Ironically, I'm doing the install so I'll have enough disk space =
to do a "make world".

I'm afraid I can offer nothing in return but my undying gratitude :-)
Fitz.

*** /usr/src/sys/i386/isa/if_ie.c Sun Aug 29 09:07:22 1999
--- if_ie.c Thu Mar  9 23:29:55 2000
***************
*** 564,569 ****
--- 564,570 ----
  struct ie_softc *ie =3D (struct ie_softc *)sc;
  int unit =3D ie - &ie_softc[0];

+ return;
  ee16_reset_586(unit);
  outb(PORT + IEE16_ECTRL, IEE16_RESET_ASIC);
  outb(PORT + IEE16_ECTRL, 0);
***************
*** 635,640 ****
--- 636,644 ----
  bd_maddr =3D 0;
  i =3D (ee16_read_eeprom(sc, 6) & 0x00ff) >> 3;
  switch (i) {
+ case 0x01:
+ bd_maddr =3D 0xC8000;
+ break;
  case 0x03:
  bd_maddr =3D 0xCC000;
  break;
***************
*** 648,653 ****
--- 652,658 ----
  bd_maddr =3D 0xD8000;
  break;
  default:
+ printf("ie%d: unknown maddr id: %x\n", unit, i);
  bd_maddr =3D 0;
  break;
  }
***************
*** 875,880 ****
--- 880,888 ----

  /* Don't ack interrupts which we didn't receive */
  ie_ack(ie->scb, IE_ST_WHENCE & status, unit, ie->ie_chan_attn);
+
+ if (ie->hard_type =3D=3D IE_EE16) /* XXX Heavy traffic sometimes hangs =
an*/
+ DELAY(15);            /* XXX EE16. This delay seems to cure. */

  if (status & (IE_ST_RECV | IE_ST_RNR)) {
  #ifdef DEBUG



------=_NextPart_000_001D_01BF8C17.296CDD00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3013.2600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I was wondering if someone could build =
me images of=20
the (3.4 stable) </FONT><FONT face=3DArial size=3D2>installation =
floppies with the=20
following driver patch incorporated. </FONT><FONT face=3DArial =
size=3D2>I want to=20
download 3.4, but the driver for my network card locks </FONT><FONT =
face=3DArial=20
size=3D2>up the PC during the installation. If I can get past the =
install,=20
</FONT><FONT face=3DArial size=3D2>I can patch the kernel. </FONT><FONT =
face=3DArial=20
size=3D2>Ironically, I'm doing the install so I'll have enough&nbsp;disk =

</FONT><FONT face=3DArial size=3D2>space to do a "make =
world".</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm afraid I can offer nothing in =
return but my=20
undying gratitude :-)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Fitz.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>*** /usr/src/sys/i386/isa/if_ie.c Sun =
Aug 29=20
09:07:22 1999<BR>--- if_ie.c Thu Mar&nbsp; 9 23:29:55=20
2000<BR>***************<BR>*** 564,569 ****<BR>--- 564,570 =
----<BR>&nbsp; struct=20
ie_softc *ie =3D (struct ie_softc *)sc;<BR>&nbsp; int unit =3D ie -=20
&amp;ie_softc[0];<BR><BR>+ return;<BR>&nbsp; =
ee16_reset_586(unit);<BR>&nbsp;=20
outb(PORT + IEE16_ECTRL, IEE16_RESET_ASIC);<BR>&nbsp; outb(PORT + =
IEE16_ECTRL,=20
0);<BR>***************<BR>*** 635,640 ****<BR>--- 636,644 ----<BR>&nbsp; =

bd_maddr =3D 0;<BR>&nbsp; i =3D (ee16_read_eeprom(sc, 6) &amp; 0x00ff) =
&gt;&gt;=20
3;<BR>&nbsp; switch (i) {<BR>+ case 0x01:<BR>+ bd_maddr =3D =
0xC8000;<BR>+=20
break;<BR>&nbsp; case 0x03:<BR>&nbsp; bd_maddr =3D 0xCC000;<BR>&nbsp;=20
break;<BR>***************<BR>*** 648,653 ****<BR>--- 652,658 =
----<BR>&nbsp;=20
bd_maddr =3D 0xD8000;<BR>&nbsp; break;<BR>&nbsp; default:<BR>+ =
printf("ie%d:=20
unknown maddr id: %x\n", unit, i);<BR>&nbsp; bd_maddr =3D 0;<BR>&nbsp;=20
break;<BR>&nbsp; }<BR>***************<BR>*** 875,880 ****<BR>--- 880,888 =

----<BR><BR>&nbsp; /* Don't ack interrupts which we didn't receive =
*/<BR>&nbsp;=20
ie_ack(ie-&gt;scb, IE_ST_WHENCE &amp; status, unit,=20
ie-&gt;ie_chan_attn);<BR>+<BR>+ if (ie-&gt;hard_type =3D=3D IE_EE16) /* =
XXX Heavy=20
traffic sometimes hangs an*/<BR>+=20
DELAY(15);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; /*=20
XXX EE16. This delay seems to cure. */<BR><BR>&nbsp; if (status &amp;=20
(IE_ST_RECV | IE_ST_RNR)) {<BR>&nbsp; #ifdef=20
DEBUG<BR><BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_001D_01BF8C17.296CDD00--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002601bf8c5a$8924d160$040ba8c0>