Changeset cb620844 in rtems
- Timestamp:
- 10/04/99 13:47:31 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6fca2f5
- Parents:
- 67d0f4e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/gen68360/console/console.c
r67d0f4e rcb620844 139 139 } 140 140 141 static void142 smc1Initialize ( void)141 static int 142 smc1Initialize (int major, int minor, void *arg) 143 143 { 144 144 /* … … 225 225 m360.cimr |= 1UL << 4; /* Enable SMC1 interrupts */ 226 226 } 227 228 return 0; 227 229 } 228 230 … … 303 305 304 306 /* 305 * Do device-specific initialization306 */307 smc1Initialize ();308 309 /*310 307 * Register the device 311 308 */ … … 327 324 rtems_status_code sc; 328 325 static const rtems_termios_callbacks intrCallbacks = { 329 NULL,/* firstOpen */326 smc1Initialize, /* firstOpen */ 330 327 NULL, /* lastClose */ 331 328 NULL, /* pollRead */ … … 337 334 }; 338 335 static const rtems_termios_callbacks pollCallbacks = { 339 NULL,/* firstOpen */336 smc1Initialize, /* firstOpen */ 340 337 NULL, /* lastClose */ 341 338 smc1PollRead, /* pollRead */ … … 347 344 }; 348 345 346 /* 347 * Do generic termios initialization 348 */ 349 349 if (m360_smc1_interrupt) { 350 350 rtems_libio_open_close_args_t *args = arg;
Note: See TracChangeset
for help on using the changeset viewer.