Fix style.

This commit is contained in:
nyan 2002-03-25 12:44:03 +00:00
parent 31c9c349f8
commit 1a251b4481
4 changed files with 23 additions and 31 deletions

View File

@ -387,8 +387,8 @@ static int siosetwater(struct com_s *com, speed_t speed);
static void comstart(struct tty *tp);
static void comstop(struct tty *tp, int rw);
static timeout_t comwakeup;
static void disc_optim(struct tty *tp, struct termios *t,
struct com_s *com);
static void disc_optim(struct tty *tp, struct termios *t,
struct com_s *com);
char sio_driver_name[] = "sio";
static struct mtx sio_lock;

View File

@ -66,7 +66,7 @@ options DDB #Enable the kernel debugger
options INVARIANTS #Enable calls of extra sanity checking
options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
options WITNESS #Enable mutex checks to detects deadlocks and cycles
options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
# To make an SMP kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel

View File

@ -79,12 +79,11 @@ typedef struct mse_softc {
bus_space_handle_t sc_ioh;
void *sc_ih;
void (*sc_enablemouse)(bus_space_tag_t t,
bus_space_handle_t h);
bus_space_handle_t h);
void (*sc_disablemouse)(bus_space_tag_t t,
bus_space_handle_t h);
void (*sc_getmouse)(bus_space_tag_t t,
bus_space_handle_t h,
int *dx, int *dy, int *but);
bus_space_handle_t h);
void (*sc_getmouse)(bus_space_tag_t t, bus_space_handle_t h,
int *dx, int *dy, int *but);
int sc_deltax;
int sc_deltay;
int sc_obuttons;
@ -202,13 +201,10 @@ static timeout_t msetimeout;
static bus_addr_t mse_port[] = {0, 2, 4, 6};
static int mse_probe98m(device_t dev, mse_softc_t *sc);
static void mse_disable98m(bus_space_tag_t t,
bus_space_handle_t h);
static void mse_get98m(bus_space_tag_t t,
bus_space_handle_t h,
int *dx, int *dy, int *but);
static void mse_enable98m(bus_space_tag_t t,
bus_space_handle_t h);
static void mse_disable98m(bus_space_tag_t t, bus_space_handle_t h);
static void mse_get98m(bus_space_tag_t t, bus_space_handle_t h,
int *dx, int *dy, int *but);
static void mse_enable98m(bus_space_tag_t t, bus_space_handle_t h);
#else
/*
* Logitech bus mouse definitions
@ -249,12 +245,11 @@ static void mse_enable98m(bus_space_tag_t t,
static int mse_probelogi(device_t dev, mse_softc_t *sc);
static void mse_disablelogi(bus_space_tag_t t,
bus_space_handle_t h);
static void mse_getlogi(bus_space_tag_t t,
bus_space_handle_t h,
int *dx, int *dy, int *but);
bus_space_handle_t h);
static void mse_getlogi(bus_space_tag_t t, bus_space_handle_t h,
int *dx, int *dy, int *but);
static void mse_enablelogi(bus_space_tag_t t,
bus_space_handle_t h);
bus_space_handle_t h);
/*
* ATI Inport mouse definitions
@ -268,13 +263,10 @@ static void mse_enablelogi(bus_space_tag_t t,
#define MSE_INPORT_INTREN 0x09
static int mse_probeati(device_t dev, mse_softc_t *sc);
static void mse_enableati(bus_space_tag_t t,
bus_space_handle_t h);
static void mse_disableati(bus_space_tag_t t,
bus_space_handle_t h);
static void mse_getati(bus_space_tag_t t,
bus_space_handle_t h,
int *dx, int *dy, int *but);
static void mse_enableati(bus_space_tag_t t, bus_space_handle_t h);
static void mse_disableati(bus_space_tag_t t, bus_space_handle_t h);
static void mse_getati(bus_space_tag_t t, bus_space_handle_t h,
int *dx, int *dy, int *but);
#endif
#define MSEPRI (PZERO + 3)
@ -292,8 +284,8 @@ static struct mse_types {
/* Start routine */
void (*m_disable)(bus_space_tag_t t, bus_space_handle_t h);
/* Disable interrupts routine */
void (*m_get)(bus_space_tag_t t, bus_space_handle_t h,
int *dx, int *dy, int *but);
void (*m_get)(bus_space_tag_t t, bus_space_handle_t h, int *dx,
int *dy, int *but);
/* and get mouse status */
mousehw_t m_hw; /* buttons iftype type model hwid */
mousemode_t m_mode; /* proto rate res accel level size mask */

View File

@ -387,8 +387,8 @@ static int siosetwater(struct com_s *com, speed_t speed);
static void comstart(struct tty *tp);
static void comstop(struct tty *tp, int rw);
static timeout_t comwakeup;
static void disc_optim(struct tty *tp, struct termios *t,
struct com_s *com);
static void disc_optim(struct tty *tp, struct termios *t,
struct com_s *com);
char sio_driver_name[] = "sio";
static struct mtx sio_lock;