fwohci_pci.c (123019) | fwohci_pci.c (124145) |
---|---|
1/* 2 * Copyright (c) 2003 Hidetoshi Shimokawa 3 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 30 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 * POSSIBILITY OF SUCH DAMAGE. 33 * | 1/* 2 * Copyright (c) 2003 Hidetoshi Shimokawa 3 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 30 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 * POSSIBILITY OF SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/dev/firewire/fwohci_pci.c 123019 2003-11-28 05:28:29Z imp $ | 34 * $FreeBSD: head/sys/dev/firewire/fwohci_pci.c 124145 2004-01-05 14:21:18Z simokawa $ |
35 */ 36 37#define BOUNCE_BUFFER_TEST 0 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/kernel.h> 42#include <sys/module.h> --- 280 unchanged lines hidden (view full) --- 323 } 324 325 err = fwohci_init(sc, self); 326 327 if (!err) 328 err = device_probe_and_attach(sc->fc.bdev); 329 330 if (err) { | 35 */ 36 37#define BOUNCE_BUFFER_TEST 0 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/kernel.h> 42#include <sys/module.h> --- 280 unchanged lines hidden (view full) --- 323 } 324 325 err = fwohci_init(sc, self); 326 327 if (!err) 328 err = device_probe_and_attach(sc->fc.bdev); 329 330 if (err) { |
331 device_printf(self, "FireWire init failed\n"); | 331 device_printf(self, "FireWire init failed with err=%d\n", err); |
332 fwohci_pci_detach(self); 333 return EIO; 334 } 335 336 /* XXX 337 * Clear the bus reset event flag to start transactions even when 338 * interrupt is disabled during the boot process. 339 */ --- 126 unchanged lines hidden --- | 332 fwohci_pci_detach(self); 333 return EIO; 334 } 335 336 /* XXX 337 * Clear the bus reset event flag to start transactions even when 338 * interrupt is disabled during the boot process. 339 */ --- 126 unchanged lines hidden --- |