ata-all.h (200171) | ata-all.h (200459) |
---|---|
1/*- 2 * Copyright (c) 1998 - 2008 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) 1998 - 2008 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-all.h 200171 2009-12-06 00:10:13Z mav $ | 26 * $FreeBSD: head/sys/dev/ata/ata-all.h 200459 2009-12-13 00:13:21Z marius $ |
27 */ 28 29#if 0 30#define ATA_LEGACY_SUPPORT /* Enable obsolete features that break 31 * some modern devices */ 32#endif 33 34/* ATA register defines */ --- 582 unchanged lines hidden (view full) --- 617int ata_getparam(struct ata_device *atadev, int init); 618int ata_identify(device_t dev); 619void ata_default_registers(device_t dev); 620void ata_modify_if_48bit(struct ata_request *request); 621void ata_udelay(int interval); 622char *ata_unit2str(struct ata_device *atadev); 623const char *ata_mode2str(int mode); 624const char *ata_satarev2str(int rev); | 27 */ 28 29#if 0 30#define ATA_LEGACY_SUPPORT /* Enable obsolete features that break 31 * some modern devices */ 32#endif 33 34/* ATA register defines */ --- 582 unchanged lines hidden (view full) --- 617int ata_getparam(struct ata_device *atadev, int init); 618int ata_identify(device_t dev); 619void ata_default_registers(device_t dev); 620void ata_modify_if_48bit(struct ata_request *request); 621void ata_udelay(int interval); 622char *ata_unit2str(struct ata_device *atadev); 623const char *ata_mode2str(int mode); 624const char *ata_satarev2str(int rev); |
625int ata_atapi(device_t dev); | 625int ata_atapi(device_t dev, int target); |
626int ata_pmode(struct ata_params *ap); 627int ata_wmode(struct ata_params *ap); 628int ata_umode(struct ata_params *ap); 629int ata_limit_mode(device_t dev, int mode, int maxmode); 630void ata_setmode(device_t dev); 631void ata_print_cable(device_t dev, u_int8_t *who); 632int ata_check_80pin(device_t dev, int mode); 633#ifdef ATA_CAM --- 127 unchanged lines hidden --- | 626int ata_pmode(struct ata_params *ap); 627int ata_wmode(struct ata_params *ap); 628int ata_umode(struct ata_params *ap); 629int ata_limit_mode(device_t dev, int mode, int maxmode); 630void ata_setmode(device_t dev); 631void ata_print_cable(device_t dev, u_int8_t *who); 632int ata_check_80pin(device_t dev, int mode); 633#ifdef ATA_CAM --- 127 unchanged lines hidden --- |