diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-11 11:20:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-11 11:20:46 +0000 |
commit | d7899fb4632e8486783e3c9bae6d7e35235ee0f1 (patch) | |
tree | c400dc93a2a267230e454b66f49f658ad607d3a1 /sys/dev/atapi/acd.c | |
parent | e4221d9c7aa6d676495f03f43fb963d42d96e945 (diff) |
cd_play/acd_play() were replaced a while back
Diffstat (limited to 'sys/dev/atapi/acd.c')
-rw-r--r-- | sys/dev/atapi/acd.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/dev/atapi/acd.c b/sys/dev/atapi/acd.c index 39a696e1522..1006396b834 100644 --- a/sys/dev/atapi/acd.c +++ b/sys/dev/atapi/acd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acd.c,v 1.27 1997/08/08 21:47:00 niklas Exp $ */ +/* $OpenBSD: acd.c,v 1.28 1997/09/11 11:20:45 deraadt Exp $ */ /* * Copyright (c) 1996 Manuel Bouyer. All rights reserved. @@ -139,7 +139,6 @@ int acd_get_mode __P((struct acd_softc *, struct atapi_mode_data *, int, int, int)); int acd_set_mode __P((struct acd_softc *, struct atapi_mode_data *, int)); int acd_setchan __P((struct acd_softc *, u_char, u_char, u_char, u_char)); -int acd_play __P((struct acd_softc *, int, int)); int acd_play_big __P((struct acd_softc *, int, int)); int acd_load_toc __P((struct acd_softc *, struct cd_toc *)); int acd_play_tracks __P((struct acd_softc *, int, int, int, int)); @@ -1230,25 +1229,6 @@ acd_setchan(acd, c0, c1, c2, c3) * Get atapi driver to send a "start playing" command */ int -acd_play(acd, blkno, nblks) - struct acd_softc *acd; - int blkno, nblks; -{ - struct atapi_play atapi_cmd; - - bzero(&atapi_cmd, sizeof(atapi_cmd)); - atapi_cmd.opcode = ATAPI_PLAY_AUDIO; - _lto4b(blkno, atapi_cmd.lba); - _lto2b(nblks, atapi_cmd.length); - - return atapi_exec_cmd(acd->ad_link, &atapi_cmd, sizeof(atapi_cmd), - NULL, 0, 0, 0); -} - -/* - * Get atapi driver to send a "start playing" command - */ -int acd_play_big(acd, blkno, nblks) struct acd_softc *acd; int blkno, nblks; |