summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atapi-cd.h
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>2003-11-01 09:44:33 +0000
committerSøren Schmidt <sos@FreeBSD.org>2003-11-01 09:44:33 +0000
commit908e9ae3ecd4ef07b55a190c13cb8d681fba2c43 (patch)
treef61ea8567449e02d3aa05bd35daf699a17d36917 /sys/dev/ata/atapi-cd.h
parent4e0a104f9171fa5286b62f12a0b3932d29bc29fc (diff)
Notes
Diffstat (limited to 'sys/dev/ata/atapi-cd.h')
-rw-r--r--sys/dev/ata/atapi-cd.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/dev/ata/atapi-cd.h b/sys/dev/ata/atapi-cd.h
index 190b651bdcd61..352bffa0b99be 100644
--- a/sys/dev/ata/atapi-cd.h
+++ b/sys/dev/ata/atapi-cd.h
@@ -294,11 +294,6 @@ struct acd_track_info {
u_int track_length; /* length of this track */
};
-struct acd_devlist {
- dev_t dev;
- TAILQ_ENTRY(acd_devlist) chain; /* list management */
-};
-
/* Structure describing an ATAPI CDROM device */
struct acd_softc {
struct ata_device *device; /* device softc */
@@ -308,7 +303,6 @@ struct acd_softc {
struct mtx queue_mtx; /* queue lock */
struct bio_queue_head queue; /* queue of i/o requests */
- TAILQ_HEAD(, acd_devlist) dev_list; /* list of "track" devices */
struct toc toc; /* table of disc contents */
struct audiopage au; /* audio page info */
struct audiopage aumask; /* audio page mask */
@@ -320,9 +314,7 @@ struct acd_softc {
time_t timestamp; /* this instance timestamp */
u_int disk_size; /* size of current media */
u_int block_size; /* blocksize currently used */
- struct devstat *stats; /* devstat entry */
- dev_t dev; /* device place holders */
-#ifndef BURN_BRIDGES
- eventhandler_tag clone_evh;
-#endif
+ struct g_geom *gp; /* geom instance */
+ struct g_provider *pp[MAXTRK+1]; /* providers */
+ u_int iomax; /* Max I/O request (bytes) */
};