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-1999. |
---|
14 | * On-Line Applications Research Corporation (OAR). |
---|
15 | * |
---|
16 | * The license and distribution terms for this file may be |
---|
17 | * found in the file LICENSE in this distribution or at |
---|
18 | * http://www.OARcorp.com/rtems/license.html. |
---|
19 | * |
---|
20 | * $Id$ |
---|
21 | */ |
---|
22 | |
---|
23 | #include <rtems.h> |
---|
24 | #include "stubdrv.h" |
---|
25 | |
---|
26 | rtems_unsigned32 STUB_major; |
---|
27 | |
---|
28 | rtems_device_driver Stub_initialize( |
---|
29 | rtems_device_major_number major, |
---|
30 | rtems_device_minor_number minor, |
---|
31 | void *pargp |
---|
32 | ) |
---|
33 | { |
---|
34 | STUB_major = major; |
---|
35 | return STUB_SUCCESSFUL; |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.