Subject: Re: kern/31245: Adaptec 1460 pcmcia support (aic) broken
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <djb_netbsd@charter.net>
List: netbsd-bugs
Date: 08/22/2007 00:05:07
The following reply was made to PR kern/31245; it has been noted by GNATS.
From: <djb_netbsd@charter.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/31245: Adaptec 1460 pcmcia support (aic) broken
Date: Tue, 21 Aug 2007 20:03:15 -0400
The key here is that an align value of 0x400 needs to be handled differently for some reason. The previous patch messed around with pcmcia.c.
This simple patch to pccbb.c can be used instead:
--- dev/pci/pccbb.c.orig 2007-08-21 17:54:01.000000000 -0500
+++ dev/pci/pccbb.c 2007-08-21 17:52:20.000000000 -0500
@@ -1975,7 +1981,7 @@
#if rbus
rbus_tag_t rb;
#endif
- if (align == 0) {
+ if ((align == 0) || (align == 0x400)) {
align = size; /* XXX: funny??? */
}
djb