summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-cd.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2003-02-20 20:02:32 +0000
committersos <sos@FreeBSD.org>2003-02-20 20:02:32 +0000
commit93c9b5f5d15135bbb2fbe83962364b1b8d98dd7b (patch)
tree21f00885355e44a0cfacbbf172b07133dc03eb36 /sys/dev/ata/atapi-cd.h
parent465aae958c94f33f1c58bf6e4932b8bbb8ac7c73 (diff)
downloadFreeBSD-src-93c9b5f5d15135bbb2fbe83962364b1b8d98dd7b.zip
FreeBSD-src-93c9b5f5d15135bbb2fbe83962364b1b8d98dd7b.tar.gz
First round off updates/fixes to the ATA driver.
This moves all chipset specific code to a new file 'ata-chipset.c'. Extensive use of tables and pointers to avoid having the same switch on chipset type in several places, and to allow substituting various functions for different HW arch needs. Added PIO mode setup and all DMA modes. Support for all known SiS chipsets. Thanks to Christoph Kukulies for sponsoring a nice ASUS P4S8X SiS648 based board for this work! Tested on: i386, PC98, alpha and sparc64
Diffstat (limited to 'sys/dev/ata/atapi-cd.h')
-rw-r--r--sys/dev/ata/atapi-cd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/atapi-cd.h b/sys/dev/ata/atapi-cd.h
index 4e21487..19d742c 100644
--- a/sys/dev/ata/atapi-cd.h
+++ b/sys/dev/ata/atapi-cd.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 1998,1999,2000,2001,2002 Søren Schmidt <sos@FreeBSD.org>
+ * Copyright (c) 1998 - 2003 Søren Schmidt <sos@FreeBSD.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -299,7 +299,7 @@ struct write_param {
#define CDR_WTYPE_RAW 0x03
u_int8_t test_write :1; /* test write enable */
- u_int8_t link_size_valid :1;
+ u_int8_t link_size_valid :1;
u_int8_t burnproof :1; /* BurnProof enable */
u_int8_t reserved2_7 :1;
u_int8_t track_mode :4; /* track mode */
OpenPOWER on IntegriCloud