4.104.114.84.95
Line | |
---|
1 | /* Stub_initialize |
---|
2 | * |
---|
3 | * This routine is the terminal driver init routine. |
---|
4 | * |
---|
5 | * Input parameters: |
---|
6 | * major - device major number |
---|
7 | * minor - device minor number |
---|
8 | * pargp - pointer to parameter block |
---|
9 | * |
---|
10 | * Output parameters: |
---|
11 | * rval - STUB_SUCCESSFUL |
---|
12 | * |
---|
13 | * COPYRIGHT (c) 1989-1998. |
---|
14 | * On-Line Applications Research Corporation (OAR). |
---|
15 | * Copyright assigned to U.S. Government, 1994. |
---|
16 | * |
---|
17 | * The license and distribution terms for this file may be |
---|
18 | * found in the file LICENSE in this distribution or at |
---|
19 | * http://www.OARcorp.com/rtems/license.html. |
---|
20 | * |
---|
21 | * $Id$ |
---|
22 | */ |
---|
23 | |
---|
24 | #include <rtems.h> |
---|
25 | #include "stubdrv.h" |
---|
26 | |
---|
27 | rtems_unsigned32 STUB_major; |
---|
28 | |
---|
29 | rtems_device_driver Stub_initialize( |
---|
30 | rtems_device_major_number major, |
---|
31 | rtems_device_minor_number minor, |
---|
32 | void *pargp |
---|
33 | ) |
---|
34 | { |
---|
35 | STUB_major = major; |
---|
36 | return STUB_SUCCESSFUL; |
---|
37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.