clang-format
This commit is contained in:
@@ -30,9 +30,8 @@
|
||||
#ifndef _LAMEBUS_EMU_H_
|
||||
#define _LAMEBUS_EMU_H_
|
||||
|
||||
|
||||
#define EMU_MAXIO 16384
|
||||
#define EMU_ROOTHANDLE 0
|
||||
#define EMU_MAXIO 16384
|
||||
#define EMU_ROOTHANDLE 0
|
||||
|
||||
/*
|
||||
* The per-device data used by the emufs device driver.
|
||||
@@ -41,22 +40,21 @@
|
||||
*/
|
||||
|
||||
struct emu_softc {
|
||||
/* Initialized by lower-level attach code */
|
||||
void *e_busdata;
|
||||
uint32_t e_buspos;
|
||||
int e_unit;
|
||||
/* Initialized by lower-level attach code */
|
||||
void *e_busdata;
|
||||
uint32_t e_buspos;
|
||||
int e_unit;
|
||||
|
||||
/* Initialized by config_emu() */
|
||||
struct lock *e_lock;
|
||||
struct semaphore *e_sem;
|
||||
void *e_iobuf;
|
||||
/* Initialized by config_emu() */
|
||||
struct lock *e_lock;
|
||||
struct semaphore *e_sem;
|
||||
void *e_iobuf;
|
||||
|
||||
/* Written by the interrupt handler */
|
||||
uint32_t e_result;
|
||||
/* Written by the interrupt handler */
|
||||
uint32_t e_result;
|
||||
};
|
||||
|
||||
/* Functions called by lower-level drivers */
|
||||
void emu_irq(/*struct emu_softc*/ void *);
|
||||
|
||||
|
||||
#endif /* _LAMEBUS_EMU_H_ */
|
||||
|
||||
Reference in New Issue
Block a user