ida_pci.c (138852) | ida_pci.c (143160) |
---|---|
1/*- 2 * Copyright (c) 1999,2000 Jonathan Lemon 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1999,2000 Jonathan Lemon 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/ida/ida_pci.c 138852 2004-12-14 17:41:51Z mdodd $"); | 28__FBSDID("$FreeBSD: head/sys/dev/ida/ida_pci.c 143160 2005-03-05 18:17:35Z imp $"); |
29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/kernel.h> 33#include <sys/module.h> 34 35#include <sys/bio.h> 36#include <sys/bus.h> --- 187 unchanged lines hidden (view full) --- 224 225static int 226ida_pci_probe(device_t dev) 227{ 228 struct ida_board *board = ida_pci_match(dev); 229 230 if (board != NULL) { 231 device_set_desc(dev, board->desc); | 29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/kernel.h> 33#include <sys/module.h> 34 35#include <sys/bio.h> 36#include <sys/bus.h> --- 187 unchanged lines hidden (view full) --- 224 225static int 226ida_pci_probe(device_t dev) 227{ 228 struct ida_board *board = ida_pci_match(dev); 229 230 if (board != NULL) { 231 device_set_desc(dev, board->desc); |
232 return (0); | 232 return (BUS_PROBE_DEFAULT); |
233 } 234 return (ENXIO); 235} 236 237static int 238ida_pci_attach(device_t dev) 239{ 240 struct ida_board *board = ida_pci_match(dev); --- 81 unchanged lines hidden --- | 233 } 234 return (ENXIO); 235} 236 237static int 238ida_pci_attach(device_t dev) 239{ 240 struct ida_board *board = ida_pci_match(dev); --- 81 unchanged lines hidden --- |