ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/dummy/serial_dummy.cpp
(Generate patch)

Comparing BasiliskII/src/dummy/serial_dummy.cpp (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:26Z vs.
Revision 1.2 by cebix, 1999-10-19T19:28:26Z

# Line 42 | Line 42 | public:
42          {
43          }
44  
45 <        virtual int16 Open(uint16 config);
46 <        virtual int16 PrimeIn(uint32 pb, uint32 dce);
47 <        virtual int16 PrimeOut(uint32 pb, uint32 dce);
48 <        virtual int16 Control(uint32 pb, uint32 dce, uint16 code);
49 <        virtual int16 Status(uint32 pb, uint32 dce, uint16 code);
50 <        virtual int16 Close(void);
45 >        virtual int16 open(uint16 config);
46 >        virtual int16 prime_in(uint32 pb, uint32 dce);
47 >        virtual int16 prime_out(uint32 pb, uint32 dce);
48 >        virtual int16 control(uint32 pb, uint32 dce, uint16 code);
49 >        virtual int16 status(uint32 pb, uint32 dce, uint16 code);
50 >        virtual int16 close(void);
51  
52   private:
53          char *device_name;                      // Device name
# Line 81 | Line 81 | void SerialExit(void)
81   *  Open serial port
82   */
83  
84 < int16 DSERDPort::Open(uint16 config)
84 > int16 DSERDPort::open(uint16 config)
85   {
86          return openErr;
87   }
# Line 91 | Line 91 | int16 DSERDPort::Open(uint16 config)
91   *  Read data from port
92   */
93  
94 < int16 DSERDPort::PrimeIn(uint32 pb, uint32 dce)
94 > int16 DSERDPort::prime_in(uint32 pb, uint32 dce)
95   {
96          return readErr;
97   }
# Line 101 | Line 101 | int16 DSERDPort::PrimeIn(uint32 pb, uint
101   *  Write data to port
102   */
103  
104 < int16 DSERDPort::PrimeOut(uint32 pb, uint32 dce)
104 > int16 DSERDPort::prime_out(uint32 pb, uint32 dce)
105   {
106          return writErr;
107   }
# Line 111 | Line 111 | int16 DSERDPort::PrimeOut(uint32 pb, uin
111   *      Control calls
112   */
113  
114 < int16 DSERDPort::Control(uint32 pb, uint32 dce, uint16 code)
114 > int16 DSERDPort::control(uint32 pb, uint32 dce, uint16 code)
115   {
116          return controlErr;
117   }
# Line 121 | Line 121 | int16 DSERDPort::Control(uint32 pb, uint
121   *      Status calls
122   */
123  
124 < int16 DSERDPort::Status(uint32 pb, uint32 dce, uint16 code)
124 > int16 DSERDPort::status(uint32 pb, uint32 dce, uint16 code)
125   {
126          return statusErr;
127   }
# Line 131 | Line 131 | int16 DSERDPort::Status(uint32 pb, uint3
131   *      Close serial port
132   */
133  
134 < int16 DSERDPort::Close()
134 > int16 DSERDPort::close()
135   {
136          return noErr;
137   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines