libata.h (bff0464769f2a1bd348265de704471747378e247) libata.h (55a8e2c83ce50548dfef74bb19dfe2b809cb3099)
1/*
2 * libata.h - helper library for ATA
3 *
4 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
5 * Copyright 2003-2004 Jeff Garzik
6 *
7 *
8 * This program is free software; you can redistribute it and/or modify

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

37 struct scsi_cmnd *cmd;
38 void (*done)(struct scsi_cmnd *);
39};
40
41/* libata-core.c */
42enum {
43 /* flags for ata_dev_read_id() */
44 ATA_READID_POSTRESET = (1 << 0), /* reading ID after reset */
1/*
2 * libata.h - helper library for ATA
3 *
4 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
5 * Copyright 2003-2004 Jeff Garzik
6 *
7 *
8 * This program is free software; you can redistribute it and/or modify

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

37 struct scsi_cmnd *cmd;
38 void (*done)(struct scsi_cmnd *);
39};
40
41/* libata-core.c */
42enum {
43 /* flags for ata_dev_read_id() */
44 ATA_READID_POSTRESET = (1 << 0), /* reading ID after reset */
45 ATA_READID_DETECT = (1 << 1), /* perform presence detection
46 * using polling IDENTIFY */
45};
46
47extern struct workqueue_struct *ata_aux_wq;
48extern int atapi_enabled;
49extern int atapi_dmadir;
50extern int libata_fua;
51extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev);
52extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc);

--- 79 unchanged lines hidden ---
47};
48
49extern struct workqueue_struct *ata_aux_wq;
50extern int atapi_enabled;
51extern int atapi_dmadir;
52extern int libata_fua;
53extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev);
54extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc);

--- 79 unchanged lines hidden ---