Date: Tue, 05 Nov 2002 11:57:20 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: Wilko Bulte <wkb@freebie.xs4all.nl> Cc: freebsd-firewire@freebsd.org Subject: Re: fw driver refuses to attach on CPQ EVO N160 Message-ID: <ybsznsok9kf.wl@ett.sat.t.u-tokyo.ac.jp> In-Reply-To: <20021104093820.F26631@freebie.xs4all.nl> References: <20021104093820.F26631@freebie.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 4 Nov 2002 09:38:20 +0100,
Wilko Bulte wrote:
>
> Hi there,
>
> For fun I just built a -stable kernel with firewire support on my
> Compaq EVO N160 laptop. Unfortunately the attach fails with:
>
> pcib2: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
> pci2: <PCI bus> on pcib2
> pci2: <unknown card> (vendor=0x14f1, dev=0x2f00) at 4.0
> XXXfw: vendid=104c, dev=8023
> fwohci0: <1394 Open Host Controller Interface> mem
> 0xd0204000-0xd0207fff,0xd0201000-0xd02017ff at device 5.0 on pci2
> fwohci0: Invalid irq 255
> fwohci0: Please switch PNP-OS to 'No' in BIOS
> device_probe_and_attach: fwohci0 attach returned 6
> pcic0: <TI PCI-1410 PCI-CardBus Bridge> irq 10 at device 6.0 on pci2
> pcic0: PCI Memory allocated: 0x88000000
>
> The suggestion to switch off PNP does not work on this notebook as
> there is no BIOS option to do so. There are hardly any BIOS options
> anyway, this is an ACPI-heavy machine.
>
> Other suggestions?
Could you try the following patch to see whether it works or not?
Index: fwohci_pci.c
===================================================================
RCS file: /pub/FreeBSD-CVS/src/sys/dev/firewire/fwohci_pci.c,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 fwohci_pci.c
--- fwohci_pci.c 3 Nov 2002 10:58:18 -0000 1.3.2.1
+++ fwohci_pci.c 5 Nov 2002 02:54:24 -0000
@@ -145,9 +145,10 @@
fwohci_softc_t *sc = device_get_softc(self);
int err;
int rid;
- int intr;
int latency, cache_line;
u_int16_t cmd;
+#if 0
+ int intr;
/* For the moment, put in a message stating what is wrong */
intr = pci_read_config(self, PCIR_INTLINE, 1);
if (intr == 0 || intr == 255) {
@@ -157,6 +158,7 @@
#endif
return ENXIO;
}
+#endif
cmd = pci_read_config(self, PCIR_COMMAND, 2);
cmd |= PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN | PCIM_CMD_MWRICEN;
/\ Hidetoshi Shimokawa
\/ simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-firewire" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsznsok9kf.wl>
