1 /* -- cdi.c
2 *
3 * Initialisation of software configurable cdrom interface
4 * cards goes here.
5 *
6 * Copyright (c) 1996 Eric van der Maarel <H.T.M.v.d.Maarel@marin.nl>
7 *
8 * Version 0.1
9 *
10 * History:
11 * 0.1 First release. Only support for ISP16/MAD16/Mozart.
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 *
27 */
28
29 #include <linux/config.h>
30 #include <linux/blk.h> /* where the proto type of cdi_init() is */
31 #ifdef CONFIG_ISP16_CDI
32 #include <linux/isp16.h>
33 #endif CONFIG_ISP16_CDI
34
35 /*
36 * Cdrom interface configuration.
37 */
38 int
39 cdi_init(void)
/* ![[previous]](../icons/n_left.png)
![[next]](../icons/n_right.png)
![[first]](../icons/n_first.png)
![[last]](../icons/n_last.png)
![[top]](../icons/top.png)
![[bottom]](../icons/bottom.png)
![[index]](../icons/index.png)
*/
40 {
41 int ret_val = -1;
42
43 #ifdef CONFIG_ISP16_CDI
44 ret_val &= isp16_init();
45 #endif CONFIG_ISP16_CDI
46
47 return(ret_val);
48 }
49