From owner-freebsd-hackers Wed May 17 15:09:51 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA15585 for hackers-outgoing; Wed, 17 May 1995 15:09:51 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA15579 ; Wed, 17 May 1995 15:09:47 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id PAA12688; Wed, 17 May 1995 15:09:19 -0700 From: "Rodney W. Grimes" Message-Id: <199505172209.PAA12688@gndrsh.aac.dev.com> Subject: Re: 3c509B woes ( B models only!) To: babb@sedhps01.mdc.com (Jim Babb) Date: Wed, 17 May 1995 15:09:19 -0700 (PDT) Cc: hackers@FreeBSD.org, davidg@FreeBSD.org In-Reply-To: <199505172202.PAA15485@freefall.cdrom.com> from "Jim Babb" at May 17, 95 05:05:22 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1803 Sender: hackers-owner@FreeBSD.org Precedence: bulk Please review the attached patch. > > > >> > > >> Have you disabled "plug and play"? > > >> > > >There are *no* switches or jumpers on this card. > > >How do I disable "plug and play"? > > > > > With a 3c509 configuration diskette. The latest disketts are availible > > from ftp.3com.com if you weren't given one with your system. > > > OK, that did it! I'm now on the net. > But only after I changed the delay at line 213 of if_ep.c from 1000 to 10000, > (As was previously mentioned on this list). > > I had to ftp the configuration program, since this system came pre-configured > to run DOS and Windows. (and we didn't get any floppies). > > I hope the delay gets fixed before 2.0.5 ships, otherwise network installs > are quite a pain. > > > Would it be possible to turn "plug and play" mode off ourself when we detect > the card is in test mode? It would sure make installations easier. > Index: if_ep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/isa/if_ep.c,v retrieving revision 1.26 diff -c -r1.26 if_ep.c *** 1.26 1995/04/12 20:47:49 --- if_ep.c 1995/05/17 22:08:28 *************** *** 210,216 **** /* Look for the ISA boards. Init and leave them actived */ outb(id_port, 0xc0); /* Global reset */ ! DELAY(1000); for (i = 0; i < EP_MAX_BOARDS; i++) { outb(id_port, 0); outb(id_port, 0); --- 210,216 ---- /* Look for the ISA boards. Init and leave them actived */ outb(id_port, 0xc0); /* Global reset */ ! DELAY(10000); for (i = 0; i < EP_MAX_BOARDS; i++) { outb(id_port, 0); outb(id_port, 0); -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD