Subject: Re: kern/34045: ath0 not working on Lenovo T60 laptop under -current: pci_mem_find problems
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 07/22/2006 01:50:02
The following reply was made to PR kern/34045; it has been noted by GNATS.
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, bsd@cs.ubc.ca
Cc:
Subject: Re: kern/34045: ath0 not working on Lenovo T60 laptop under -current: pci_mem_find problems
Date: Fri, 21 Jul 2006 21:49:25 -0400
On Jul 22, 1:15am, martin@duskware.de (Martin Husemann) wrote:
-- Subject: Re: kern/34045: ath0 not working on Lenovo T60 laptop under -curr
| The following reply was made to PR kern/34045; it has been noted by GNATS.
|
| From: Martin Husemann <martin@duskware.de>
| To: gnats-bugs@NetBSD.org
| Cc:
| Subject: Re: kern/34045: ath0 not working on Lenovo T60 laptop under -current: pci_mem_find problems
| Date: Sat, 22 Jul 2006 03:14:08 +0200
|
| On Fri, Jul 21, 2006 at 05:25:10PM -0700, Brian de Alwis wrote:
| > - if (pci_mapreg_map(pa, BS_BAR, PCI_MAPREG_TYPE_MEM, 0, &psc->sc_iot,
| > + /* kern/34045: formerly used PCI_MAPREG_TYPE_MEM */
| > + if (pci_mapreg_map(pa, BS_BAR, PCI_MAPREG_MEM_TYPE_64BIT, 0, &psc->sc_iot,
|
| I wonder if it could cause any problems if we would change pci_mapreg_map
| to automagically do this "upgrade".
Try the first and if it fails try the second?
christos