source: rtems/c/src/tests/support/stubdr/init.c @ 08311cc3

4.104.114.84.95
Last change on this file since 08311cc3 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 787 bytes
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
26rtems_unsigned32 STUB_major;
27
28rtems_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.