source: rtems/c/src/tests/support/stubdr/init.c @ 1da9f4bd

4.104.114.84.95
Last change on this file since 1da9f4bd was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

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