patch-2.3.99-pre7 linux/drivers/ide/ide-tape.c

Next file: linux/drivers/ide/ide.c
Previous file: linux/drivers/ide/ide-cs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/ide/ide-tape.c linux/drivers/ide/ide-tape.c
@@ -5887,24 +5887,20 @@
  *	IDE subdriver functions, registered with ide.c
  */
 static ide_driver_t idetape_driver = {
-	"ide-tape",		/* name */
-	IDETAPE_VERSION,	/* version */
-	ide_tape,		/* media */
-	1,			/* busy */
-	1,			/* supports_dma */
-	1,			/* supports_dsc_overlap */
-	idetape_cleanup,	/* cleanup */
-	idetape_do_request,	/* do_request */
-	idetape_end_request,	/* end_request */
-	idetape_blkdev_ioctl,	/* ioctl */
-	idetape_blkdev_open,	/* open */
-	idetape_blkdev_release,	/* release */
-	NULL,			/* media_change */
-	NULL,			/* revalidate */
-	idetape_pre_reset,	/* pre_reset */
-	NULL,			/* capacity */
-	NULL,			/* special */
-	idetape_proc		/* proc */
+	name:		"ide-tape",
+	version:	IDETAPE_VERSION,
+	media:		ide_tape,
+	busy:		1,
+	supports_dma:	1,
+	supports_dsc_overlap: 1,
+	cleanup:	idetape_cleanup,
+	do_request:	idetape_do_request,
+	end_request:	idetape_end_request,
+	ioctl:		idetape_blkdev_ioctl,
+	open:		idetape_blkdev_open,
+	release:	idetape_blkdev_release,
+	pre_reset:	idetape_pre_reset,
+	proc:		idetape_proc,
 };
 
 int idetape_init (void);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)