Date: Mon, 26 Nov 2001 22:39:00 +0900 From: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> To: Jonathan Chen <jon@FreeBSD.ORG>, Warner Losh <imp@FreeBSD.org> Cc: current@FreeBSD.ORG Subject: Re: 3CXFE575CT-JP with NEWCARD doesn't work Message-ID: <86herh4por.wl@eken.phys.nagoya-u.ac.jp> In-Reply-To: <wyadxm22al.wl@eken3.eken.phys.nagoya-u.ac.jp> References: <86n14cms6f.wl@e-ppp8.eken.phys.nagoya-u.ac.jp> <20010905114730.C28669@enterprise.spock.org> <wyadxm22al.wl@eken3.eken.phys.nagoya-u.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
> At Wed, 5 Sep 2001 11:47:30 -0400, > Jonathan Chen wrote: > > On Mon, Sep 03, 2001 at 08:26:16PM +0900, Yoichi NAKAYAMA wrote: > > > I just cvsup'ed and buildkernel with NEWCARD. > > > Then my note book doesn't recognize MAC address of the card(3CXFE575CT-JP) > > > following are concerning log for new kernel and old kernel(cvsup'ed 2-3 weeks ago) > > > > This looks like it could have been caused by my moving the default io > > range around. The IO port assigned to your card could be in conflict with > > something else. Try the following patch, which reverts to the old range. > > > > It would be really nice if the pci bus code could just do these assignments > > automagically... > > > > Index: pccbb.c > > =================================================================== > > RCS file: /export/ncvs/src/sys/dev/pccbb/pccbb.c,v > > retrieving revision 1.24 > > diff -u -r1.24 pccbb.c > > --- pccbb.c 2001/08/27 11:23:05 1.24 > > +++ pccbb.c 2001/09/05 15:44:45 > > @@ -1243,8 +1243,8 @@ > > start = end = tmp; > > break; > > case SYS_RES_IOPORT: > > - if (start <= 0x1000) > > - start = 0x1000; > > + if (start <= 0x3000) > > + start = 0x3000; > > if (end < start) > > end = start; > > break; I think this trouble can be easily solved if we can controll PCCBB_START_IO as we can controll PCCBB_START_MEM by last change: ; revision 1.31 ; date: 2001/11/26 07:17:09; author: imp; state: Exp; lines: +16 -5 ; Make the start memory address that we use configurable via a boot ; loader parameter. This allows us to more easily boot on big memory ; configuration machines. hw.pccbb.start_mem. Reflect this in a sysctl ; so we can read it from userland. Is it my misunderstanding? -- Yoichi Nakayama To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86herh4por.wl>