Subject: Re: kern/33271: Can't boot with Ricoh 5C476 PCI-CardBus bridge activated
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: =?ISO-8859-1?Q?St=E9phane_Witzmann?= <stephane.witzmann@gmail.com>
List: netbsd-bugs
Date: 04/16/2006 20:50:02
The following reply was made to PR kern/33271; it has been noted by GNATS.

From: "=?ISO-8859-1?Q?St=E9phane_Witzmann?=" <stephane.witzmann@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/33271: Can't boot with Ricoh 5C476 PCI-CardBus bridge activated
Date: Sun, 16 Apr 2006 22:45:32 +0200

 I had a look at the code in current.
 
 The failing line in rbus_new_root_share() must be:
 if (start < ex->ex_start || start + size > ex->ex_end) {
 
 At that point, ex is NULL.
 
 Now, in rbus_pccbb_parent_io() [i386]:
 
 =09struct extent *ex =3D ioport_ex;
 
 #if defined(PCI_ADDR_FIXUP)
 =09if (pciaddr.extent_port !=3D NULL)
 =09=09ex =3D pciaddr.extent_port;
 #endif
 
 ...
 
 So there is a possibility that it might work with PCI_ADDR_FIXUP
 enabled. Can you please try this ?