summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-03-25 12:44:03 +0000
committernyan <nyan@FreeBSD.org>2002-03-25 12:44:03 +0000
commit1a251b4481beb40ed78e2dd690d93b61423c83e6 (patch)
treec2768d3e7d86971a7c4a61998631adfa372d5e20 /sys/pc98
parent31c9c349f875fcad64358398dd2efde0b96617d8 (diff)
downloadFreeBSD-src-1a251b4481beb40ed78e2dd690d93b61423c83e6.zip
FreeBSD-src-1a251b4481beb40ed78e2dd690d93b61423c83e6.tar.gz
Fix style.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/sio.c4
-rw-r--r--sys/pc98/conf/GENERIC2
-rw-r--r--sys/pc98/pc98/mse.c44
-rw-r--r--sys/pc98/pc98/sio.c4
4 files changed, 23 insertions, 31 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 129214d..11fe280 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -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;
diff --git a/sys/pc98/conf/GENERIC b/sys/pc98/conf/GENERIC
index 479a79a..1e4e634 100644
--- a/sys/pc98/conf/GENERIC
+++ b/sys/pc98/conf/GENERIC
@@ -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
diff --git a/sys/pc98/pc98/mse.c b/sys/pc98/pc98/mse.c
index b8fef80..ac3a1da 100644
--- a/sys/pc98/pc98/mse.c
+++ b/sys/pc98/pc98/mse.c
@@ -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 */
diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c
index 129214d..11fe280 100644
--- a/sys/pc98/pc98/sio.c
+++ b/sys/pc98/pc98/sio.c
@@ -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;
OpenPOWER on IntegriCloud