source: rtems/c/src/lib/libbsp/m68k/gen68360/include/sio.h @ f8f370b6

4.104.114.84.95
Last change on this file since f8f370b6 was e2d79559, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 9, 1997 at 2:05:50 PM

Added ka9q tcpip stack and network driver for the gen68360. This effort
was done based on the 3.6.0 release and had to be autoconf'ed locally.
It is turned on is the bsp enables it and it is not explicitly disabled
via the configure option --disable-tcpip. As many warnings as possible
were removed locally after the code was merged. Only the gen68360
and mvme136 bsps were compiled this way.

The ka9q port and network driver were submitted by Eric Norum
(eric@…).

The network demo programs are not included in the tree at this point.

  • Property mode set to 100644
File size: 998 bytes
Line 
1/*  sio.h
2 *
3 *  sio device driver for UART SCC and SMC
4 *
5 *  COPYRIGHT (c) 1997 Pacific Computing
6 *
7 *  $Id$
8 */
9
10#ifndef _SIO_DRIVER_h
11#define _SIO_DRIVER_h
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#define SIO_DRIVER_TABLE_ENTRY \
18  { sio_initialize, sio_open, sio_close, \
19    sio_read, sio_write, sio_control }
20
21rtems_device_driver sio_initialize(
22  rtems_device_major_number,
23  rtems_device_minor_number,
24  void *
25);
26
27rtems_device_driver sio_open(
28  rtems_device_major_number,
29  rtems_device_minor_number,
30  void *
31);
32
33rtems_device_driver sio_close(
34  rtems_device_major_number,
35  rtems_device_minor_number,
36  void *
37);
38
39rtems_device_driver sio_read(
40  rtems_device_major_number,
41  rtems_device_minor_number,
42  void *
43);
44
45rtems_device_driver sio_write(
46  rtems_device_major_number,
47  rtems_device_minor_number,
48  void *
49);
50
51rtems_device_driver sio_control(
52  rtems_device_major_number,
53  rtems_device_minor_number,
54  void *
55);
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif
62/* end of include file */
Note: See TracBrowser for help on using the repository browser.