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: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 07/22/2006 01:15:05
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".
Martin