diff options
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index 2ae37ee12fc0..a97ccb034e14 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h | |||
@@ -1,32 +1,35 @@ | |||
1 | /* | 1 | /* |
2 | libata.h - helper library for ATA | 2 | * libata.h - helper library for ATA |
3 | 3 | * | |
4 | Copyright 2003-2004 Red Hat, Inc. All rights reserved. | 4 | * Copyright 2003-2004 Red Hat, Inc. All rights reserved. |
5 | Copyright 2003-2004 Jeff Garzik | 5 | * Copyright 2003-2004 Jeff Garzik |
6 | 6 | * | |
7 | The contents of this file are subject to the Open | 7 | * |
8 | Software License version 1.1 that can be found at | 8 | * This program is free software; you can redistribute it and/or modify |
9 | http://www.opensource.org/licenses/osl-1.1.txt and is included herein | 9 | * it under the terms of the GNU General Public License as published by |
10 | by reference. | 10 | * the Free Software Foundation; either version 2, or (at your option) |
11 | 11 | * any later version. | |
12 | Alternatively, the contents of this file may be used under the terms | 12 | * |
13 | of the GNU General Public License version 2 (the "GPL") as distributed | 13 | * This program is distributed in the hope that it will be useful, |
14 | in the kernel source COPYING file, in which case the provisions of | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | the GPL are applicable instead of the above. If you wish to allow | 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | the use of your version of this file only under the terms of the | 16 | * GNU General Public License for more details. |
17 | GPL and not to allow others to use your version of this file under | 17 | * |
18 | the OSL, indicate your decision by deleting the provisions above and | 18 | * You should have received a copy of the GNU General Public License |
19 | replace them with the notice and other provisions required by the GPL. | 19 | * along with this program; see the file COPYING. If not, write to |
20 | If you do not delete the provisions above, a recipient may use your | 20 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
21 | version of this file under either the OSL or the GPL. | 21 | * |
22 | 22 | * | |
23 | * libata documentation is available via 'make {ps|pdf}docs', | ||
24 | * as Documentation/DocBook/libata.* | ||
25 | * | ||
23 | */ | 26 | */ |
24 | 27 | ||
25 | #ifndef __LIBATA_H__ | 28 | #ifndef __LIBATA_H__ |
26 | #define __LIBATA_H__ | 29 | #define __LIBATA_H__ |
27 | 30 | ||
28 | #define DRV_NAME "libata" | 31 | #define DRV_NAME "libata" |
29 | #define DRV_VERSION "1.11" /* must be exactly four chars */ | 32 | #define DRV_VERSION "1.12" /* must be exactly four chars */ |
30 | 33 | ||
31 | struct ata_scsi_args { | 34 | struct ata_scsi_args { |
32 | u16 *id; | 35 | u16 *id; |
@@ -73,7 +76,7 @@ extern unsigned int ata_scsiop_report_luns(struct ata_scsi_args *args, u8 *rbuf, | |||
73 | extern void ata_scsi_badcmd(struct scsi_cmnd *cmd, | 76 | extern void ata_scsi_badcmd(struct scsi_cmnd *cmd, |
74 | void (*done)(struct scsi_cmnd *), | 77 | void (*done)(struct scsi_cmnd *), |
75 | u8 asc, u8 ascq); | 78 | u8 asc, u8 ascq); |
76 | extern void ata_scsi_rbuf_fill(struct ata_scsi_args *args, | 79 | extern void ata_scsi_rbuf_fill(struct ata_scsi_args *args, |
77 | unsigned int (*actor) (struct ata_scsi_args *args, | 80 | unsigned int (*actor) (struct ata_scsi_args *args, |
78 | u8 *rbuf, unsigned int buflen)); | 81 | u8 *rbuf, unsigned int buflen)); |
79 | 82 | ||