From owner-freebsd-questions Sun Mar 12 11:39: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from proxy4.ba.best.com (proxy4.ba.best.com [206.184.139.15]) by hub.freebsd.org (Postfix) with ESMTP id 1FF7337B9E9 for ; Sun, 12 Mar 2000 11:39:03 -0800 (PST) (envelope-from fitz@jfitz.com) Received: from fitz (adsl-63-194-217-126.dsl.snfc21.pacbell.net [63.194.217.126]) by proxy4.ba.best.com (8.9.3/8.9.2/best.out) with SMTP id LAA15373 for ; Sun, 12 Mar 2000 11:38:11 -0800 (PST) Message-ID: <002601bf8c5a$8924d160$040ba8c0@fitz> From: "John Fitzgibbon" To: Subject: Help! - need installation floppies with patched driver Date: Sun, 12 Mar 2000 11:36:09 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001D_01BF8C17.296CDD00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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
Hi,
I was wondering if someone could build = me images of=20 the (3.4 stable) installation = floppies with the=20 following driver patch incorporated. I want to=20 download 3.4, but the driver for my network card locks up the PC during the installation. If I can get past the = install,=20 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=20 undying gratitude :-)
Fitz.
 
*** /usr/src/sys/i386/isa/if_ie.c Sun = Aug 29=20 09:07:22 1999
--- if_ie.c Thu Mar  9 23:29:55=20 2000
***************
*** 564,569 ****
--- 564,570 = ----
  struct=20 ie_softc *ie =3D (struct ie_softc *)sc;
  int unit =3D ie -=20 &ie_softc[0];

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

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

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

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