Changeset 4cd4c5a in rtems for c/src/libchip/serial/z85c30.c


Ignore:
Timestamp:
Jun 22, 1998, 11:07:51 AM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
36152b0e
Parents:
58b1e95
Message:

Moved set and get Register and Data type defininitions to serial.h.

Cleaned up spacing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/z85c30.c

    r58b1e95 r4cd4c5a  
    8585extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
    8686
    87 /*
    88  *  Types for get and set register routines
    89  */
    90 
    91 typedef unsigned8 (*getRegister_f)(unsigned32 port, unsigned8 register);
    92 typedef void      (*setRegister_f)(
    93                             unsigned32 port, unsigned8 reg, unsigned8 value);
    94 typedef unsigned8 (*getData_f)(unsigned32 port);
    95 typedef void      (*setData_f)(unsigned32 port, unsigned8 value);
    9687
    9788
     
    300291{
    301292  /*
    302    * If the configuration dependant probe has located the device then
     293   * If the configuration dependent probe has located the device then
    303294   * assume it is there
    304295   */
     
    508499  getReg     = Console_Port_Tbl[minor].getRegister;
    509500  getData    = Console_Port_Tbl[minor].getData;
    510   getData    = Console_Port_Tbl[minor].getData;
     501  setData    = Console_Port_Tbl[minor].setData;
    511502
    512503  /*
Note: See TracChangeset for help on using the changeset viewer.