Deleted Added
full compact
ata-pci.c (87951) ata-pci.c (88162)
1/*-
2 * Copyright (c) 1998,1999,2000,2001 S�ren Schmidt <sos@FreeBSD.org>
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 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1998,1999,2000,2001 S�ren Schmidt <sos@FreeBSD.org>
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 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/dev/ata/ata-pci.c 87951 2001-12-14 21:28:49Z sos $
28 * $FreeBSD: head/sys/dev/ata/ata-pci.c 88162 2001-12-19 01:53:11Z jhb $
29 */
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/kernel.h>
34#include <sys/disk.h>
35#include <sys/module.h>
36#include <sys/bus.h>

--- 132 unchanged lines hidden (view full) ---

169 if (ata_find_dev(dev, 0x06861106, 0))
170 return "VIA 82C686 ATA66 controller";
171 return "VIA Apollo ATA controller";
172
173 case 0x55131039:
174 if (ata_find_dev(dev, 0x06301039, 0x30) ||
175 ata_find_dev(dev, 0x06331039, 0x00) ||
176 ata_find_dev(dev, 0x06351039, 0x00) ||
29 */
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/kernel.h>
34#include <sys/disk.h>
35#include <sys/module.h>
36#include <sys/bus.h>

--- 132 unchanged lines hidden (view full) ---

169 if (ata_find_dev(dev, 0x06861106, 0))
170 return "VIA 82C686 ATA66 controller";
171 return "VIA Apollo ATA controller";
172
173 case 0x55131039:
174 if (ata_find_dev(dev, 0x06301039, 0x30) ||
175 ata_find_dev(dev, 0x06331039, 0x00) ||
176 ata_find_dev(dev, 0x06351039, 0x00) ||
177 ata_find_dev(dev, 0x06451039, 0x00) ||
177 ata_find_dev(dev, 0x07301039, 0x00) ||
178 ata_find_dev(dev, 0x07331039, 0x00) ||
179 ata_find_dev(dev, 0x07351039, 0x00))
180 return "SiS 5591 ATA100 controller";
181 if (ata_find_dev(dev, 0x05301039, 0x00) ||
182 ata_find_dev(dev, 0x05401039, 0x00) ||
183 ata_find_dev(dev, 0x06201039, 0x00) ||
184 ata_find_dev(dev, 0x06301039, 0x00))

--- 571 unchanged lines hidden ---
178 ata_find_dev(dev, 0x07301039, 0x00) ||
179 ata_find_dev(dev, 0x07331039, 0x00) ||
180 ata_find_dev(dev, 0x07351039, 0x00))
181 return "SiS 5591 ATA100 controller";
182 if (ata_find_dev(dev, 0x05301039, 0x00) ||
183 ata_find_dev(dev, 0x05401039, 0x00) ||
184 ata_find_dev(dev, 0x06201039, 0x00) ||
185 ata_find_dev(dev, 0x06301039, 0x00))

--- 571 unchanged lines hidden ---