Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 10:20:15 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        mjacob@feral.com
Cc:        "'FreeBSD Alpha mailing list'" <freebsd-alpha@FreeBSD.ORG>
Subject:   RE: fxp0 hangs my AXPpci33
Message-ID:  <14721.38433.540697.393972@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.BSF.4.10.10007280637430.60544-100000@beppo.feral.com>
References:  <14721.35393.181226.803212@grasshopper.cs.duke.edu> <Pine.BSF.4.10.10007280637430.60544-100000@beppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Matthew Jacob writes:
 > 
 > > I'm reluctant to commit it because I don't really understand why it
 > > works.  It was just a shot-in-the-dark kind of thing.. 
 > > 
 > > Does anybody have any ideas why using I/O port access should work,
 > > while using the memory mapped access wouldn't?  Matt, Doug?
 > >
 > > 
 > > The only thing I can think of is that memory mapped access is
 > > generally broken on the apecs/lca..  But the NCR driver works, and it
 > > uses memory mapped access..
 > > 
 > 
 > They're not the same kind of device at all.
 > 
 > So, why does I/O access also break on Qlogic cards on alphas? They work just
 > peachy on i386. And there are many fine cards that work fine with I/O instead
 > of mem access on alpha....

I thought the i/o problem was only for devices behind ppb's that don't
support I/O space access.  The problem is caused by our ppb/bus code
not realizing the bridge doesn't support i/o space access & offering
it as an option..



 > Look- I've had the 
 > 
 >         if (getenv_int("isp_mem_map", &bitmap)) {
 >                 if (bitmap & (1 << unit)) {
 >                         m1 = PCIM_CMD_MEMEN;
 >                         m2 = PCIM_CMD_PORTEN;
 >                 }
 >         }
 >         bitmap = 0;
 >         if (getenv_int("isp_io_map", &bitmap)) {
 >                 if (bitmap & (1 << unit)) {
 >                         m1 = PCIM_CMD_PORTEN;
 >                         m2 = PCIM_CMD_MEMEN;
 >                 }
 >         }
 > 
 > stuff in isp_pci since newbus came in. Somebody should add the same to if_fxp
 > (or some more general selector solution) and make this an alpha HARDWARE.TXT
 > entry ("On AXPpci33/Multia, fxp needs to be set for mem_only mapping").

That's what I was planning to do..

Drew


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14721.38433.540697.393972>