1 /* 2 * cdda - CD Digital Audio support 3 * 4 * Copyright (C) 1993-2004 Ti Kan 5 * E-mail: xmcd@amb.org 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 */ 21 22 /* 23 * FreeBSD/OpenBSD/NetBSD CDDA read ioctl support 24 */ 25 #ifndef __RD_FBSD_H__ 26 #define __RD_FBSD_H__ 27 28 #ifndef lint 29 static char *_rd_fbsd_h_ident_ = "@(#)rd_fbsd.h 7.11 03/12/12"; 30 #endif 31 32 #if defined(CDDA_RD_FBSD) && defined(CDDA_SUPPORTED) 33 34 #define BSD_CDDA_MAXFER (32 * 1024) /* Max CDDA data length per request */ 35 36 /* Exported function prototypes */ 37 extern word32_t fbsd_rinit(void); 38 extern bool_t fbsd_read(di_dev_t *); 39 extern void fbsd_rdone(bool_t); 40 extern void fbsd_rinfo(char *); 41 42 #else 43 44 #define fbsd_rinit NULL 45 #define fbsd_read NULL 46 #define fbsd_rdone NULL 47 #define fbsd_rinfo NULL 48 49 #endif /* CDDA_RD_FBSD CDDA_SUPPORTED */ 50 51 #endif /* __RD_FBSD_H__ */ 52 53