ata-pci.h (172499) | ata-pci.h (173734) |
---|---|
1/*- 2 * Copyright (c) 2003 - 2007 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 --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2003 - 2007 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 --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/ata/ata-pci.h 172499 2007-10-09 20:15:09Z delphij $ | 26 * $FreeBSD: head/sys/dev/ata/ata-pci.h 173734 2007-11-18 14:44:52Z sos $ |
27 */ 28 29/* structure holding chipset config info */ 30struct ata_chip_id { 31 u_int32_t chipid; 32 u_int8_t chiprev; 33 int cfg1; 34 int cfg2; --- 59 unchanged lines hidden (view full) --- 94#define ATA_ALI_5281 0x528110b9 95#define ATA_ALI_5287 0x528710b9 96#define ATA_ALI_5288 0x528810b9 97#define ATA_ALI_5289 0x528910b9 98 99#define ATA_ATI_ID 0x1002 100#define ATA_ATI_IXP200 0x43491002 101#define ATA_ATI_IXP300 0x43691002 | 27 */ 28 29/* structure holding chipset config info */ 30struct ata_chip_id { 31 u_int32_t chipid; 32 u_int8_t chiprev; 33 int cfg1; 34 int cfg2; --- 59 unchanged lines hidden (view full) --- 94#define ATA_ALI_5281 0x528110b9 95#define ATA_ALI_5287 0x528710b9 96#define ATA_ALI_5288 0x528810b9 97#define ATA_ALI_5289 0x528910b9 98 99#define ATA_ATI_ID 0x1002 100#define ATA_ATI_IXP200 0x43491002 101#define ATA_ATI_IXP300 0x43691002 |
102#define ATA_ATI_IXP400 0x43761002 | |
103#define ATA_ATI_IXP300_S1 0x436e1002 | 102#define ATA_ATI_IXP300_S1 0x436e1002 |
103#define ATA_ATI_IXP400 0x43761002 |
|
104#define ATA_ATI_IXP400_S1 0x43791002 105#define ATA_ATI_IXP400_S2 0x437a1002 | 104#define ATA_ATI_IXP400_S1 0x43791002 105#define ATA_ATI_IXP400_S2 0x437a1002 |
106#define ATA_ATI_IXP600 0x438c1002 107#define ATA_ATI_IXP700 0x439c1002 |
|
106 107#define ATA_CENATEK_ID 0x16ca 108#define ATA_CENATEK_ROCKET 0x000116ca 109 110#define ATA_CYRIX_ID 0x1078 111#define ATA_CYRIX_5530 0x01021078 112 113#define ATA_CYPRESS_ID 0x1080 --- 113 unchanged lines hidden (view full) --- 227#define ATA_NFORCE_MCP51_S2 0x026710de 228#define ATA_NFORCE_MCP55 0x036e10de 229#define ATA_NFORCE_MCP55_S1 0x037e10de 230#define ATA_NFORCE_MCP55_S2 0x037f10de 231#define ATA_NFORCE_MCP61 0x03ec10de 232#define ATA_NFORCE_MCP61_S1 0x03e710de 233#define ATA_NFORCE_MCP61_S2 0x03f610de 234#define ATA_NFORCE_MCP61_S3 0x03f710de | 108 109#define ATA_CENATEK_ID 0x16ca 110#define ATA_CENATEK_ROCKET 0x000116ca 111 112#define ATA_CYRIX_ID 0x1078 113#define ATA_CYRIX_5530 0x01021078 114 115#define ATA_CYPRESS_ID 0x1080 --- 113 unchanged lines hidden (view full) --- 229#define ATA_NFORCE_MCP51_S2 0x026710de 230#define ATA_NFORCE_MCP55 0x036e10de 231#define ATA_NFORCE_MCP55_S1 0x037e10de 232#define ATA_NFORCE_MCP55_S2 0x037f10de 233#define ATA_NFORCE_MCP61 0x03ec10de 234#define ATA_NFORCE_MCP61_S1 0x03e710de 235#define ATA_NFORCE_MCP61_S2 0x03f610de 236#define ATA_NFORCE_MCP61_S3 0x03f710de |
237#define ATA_NFORCE_MCP65 0x044810de 238#define ATA_NFORCE_MCP67 0x056010de 239#define ATA_NFORCE_MCP73 0x056c10de 240#define ATA_NFORCE_MCP77 0x075910de |
|
235 236#define ATA_PROMISE_ID 0x105a 237#define ATA_PDC20246 0x4d33105a 238#define ATA_PDC20262 0x4d38105a 239#define ATA_PDC20263 0x0d38105a 240#define ATA_PDC20265 0x0d30105a 241#define ATA_PDC20267 0x4d30105a 242#define ATA_PDC20268 0x4d68105a --- 201 unchanged lines hidden (view full) --- 444int ata_pci_detach(device_t dev); 445struct resource * ata_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags); 446int ata_pci_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r); 447int ata_pci_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *function, void *argument, void **cookiep); 448 int ata_pci_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie); 449int ata_pci_allocate(device_t dev); 450void ata_pci_hw(device_t dev); 451int ata_pci_status(device_t dev); | 241 242#define ATA_PROMISE_ID 0x105a 243#define ATA_PDC20246 0x4d33105a 244#define ATA_PDC20262 0x4d38105a 245#define ATA_PDC20263 0x0d38105a 246#define ATA_PDC20265 0x0d30105a 247#define ATA_PDC20267 0x4d30105a 248#define ATA_PDC20268 0x4d68105a --- 201 unchanged lines hidden (view full) --- 450int ata_pci_detach(device_t dev); 451struct resource * ata_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags); 452int ata_pci_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r); 453int ata_pci_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *function, void *argument, void **cookiep); 454 int ata_pci_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie); 455int ata_pci_allocate(device_t dev); 456void ata_pci_hw(device_t dev); 457int ata_pci_status(device_t dev); |
452void ata_pci_dmainit(device_t); | 458void ata_pci_dmainit(device_t dev); 459char *ata_pcivendor2str(device_t dev); |
453 454 455/* global prototypes ata-chipset.c */ 456int ata_generic_ident(device_t); | 460 461 462/* global prototypes ata-chipset.c */ 463int ata_generic_ident(device_t); |
464int ata_ahci_ident(device_t); |
|
457int ata_acard_ident(device_t); 458int ata_ali_ident(device_t); 459int ata_amd_ident(device_t); 460int ata_ati_ident(device_t); 461int ata_cyrix_ident(device_t); 462int ata_cypress_ident(device_t); 463int ata_highpoint_ident(device_t); 464int ata_intel_ident(device_t); --- 15 unchanged lines hidden --- | 465int ata_acard_ident(device_t); 466int ata_ali_ident(device_t); 467int ata_amd_ident(device_t); 468int ata_ati_ident(device_t); 469int ata_cyrix_ident(device_t); 470int ata_cypress_ident(device_t); 471int ata_highpoint_ident(device_t); 472int ata_intel_ident(device_t); --- 15 unchanged lines hidden --- |