Skip to content
Browse files

Stylistic changes.

  • Loading branch information...
1 parent 3d0fc95 commit ad66287b348e7900e1f2d8e0f589dd35ba93a913 mycroft committed Mar 25, 1994
Showing with 16 additions and 31 deletions.
  1. +6 −14 sys/arch/i386/isa/aha1542.c
  2. +3 −5 sys/arch/i386/isa/aha1742.c
  3. +4 −7 sys/arch/i386/isa/bt742a.c
  4. +3 −5 sys/arch/i386/isa/ultra14f.c
View
20 sys/arch/i386/isa/aha1542.c
@@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id: aha1542.c,v 1.14.2.10 1994/02/02 19:21:26 mycroft Exp $
+ * $Id: aha1542.c,v 1.14.2.11 1994/03/25 10:19:30 mycroft Exp $
*/
/*
@@ -229,8 +229,7 @@ struct aha_config {
u_char:5;
};
-struct aha_inquire
-{
+struct aha_inquire {
u_char boardid; /* type of board */
/* 0x20 = BusLogic 545, but it gets
the command wrong, only returns
@@ -247,8 +246,7 @@ struct aha_inquire
u_char revision_2; /* firmware revision [0-9A-Z] */
};
-struct aha_extbios
-{
+struct aha_extbios {
u_char flags; /* Bit 3 == 1 extended bios enabled */
u_char mailboxlock; /* mail box lock code to unlock it */
};
@@ -314,8 +312,7 @@ int aha_set_bus_speed __P((struct aha_softc *));
int aha_bus_speed_check __P((struct aha_softc *, int));
void aha_timeout __P((caddr_t));
-struct scsi_adapter aha_switch =
-{
+struct scsi_adapter aha_switch = {
aha_scsi_cmd,
ahaminphys,
0,
@@ -325,8 +322,7 @@ struct scsi_adapter aha_switch =
};
/* the below structure is so we have a default dev struct for out link struct */
-struct scsi_device aha_dev =
-{
+struct scsi_device aha_dev = {
NULL, /* Use default error handler */
NULL, /* have a queue, served by this */
NULL, /* have no async handler */
@@ -335,8 +331,7 @@ struct scsi_device aha_dev =
0
};
-struct cfdriver ahacd =
-{
+struct cfdriver ahacd = {
NULL,
"aha",
ahaprobe,
@@ -568,9 +563,6 @@ ahaattach(parent, self, aux)
struct isa_attach_args *ia = aux;
struct aha_softc *aha = (void *)self;
- /* need to recalculate */
- aha->kv_phys_xor = (long int) aha ^ (KVTOPHYS(aha));
-
aha_init(aha);
/*
View
8 sys/arch/i386/isa/aha1742.c
@@ -14,7 +14,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aha1742.c,v 1.14.2.6 1994/02/02 19:21:31 mycroft Exp $
+ * $Id: aha1742.c,v 1.14.2.7 1994/03/25 10:19:35 mycroft Exp $
*/
#include "ahb.h"
@@ -300,8 +300,7 @@ struct cfdriver ahbcd = {
sizeof(struct ahb_softc)
};
-struct scsi_adapter ahb_switch =
-{
+struct scsi_adapter ahb_switch = {
ahb_scsi_cmd,
ahbminphys,
0,
@@ -311,8 +310,7 @@ struct scsi_adapter ahb_switch =
};
/* the below structure is so we have a default dev struct for our link struct */
-struct scsi_device ahb_dev =
-{
+struct scsi_device ahb_dev = {
NULL, /* Use default error handler */
NULL, /* have a queue, served by this */
NULL, /* have no async handler */
View
11 sys/arch/i386/isa/bt742a.c
@@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id: bt742a.c,v 1.8.4.8 1994/02/02 19:21:34 mycroft Exp $
+ * $Id: bt742a.c,v 1.8.4.9 1994/03/25 10:19:39 mycroft Exp $
*/
/*
@@ -351,8 +351,7 @@ void bt_print_ccb __P((struct bt_ccb *));
void bt_print_active_ccbs __P((struct bt_softc *));
#endif
-struct scsi_adapter bt_switch =
-{
+struct scsi_adapter bt_switch = {
bt_scsi_cmd,
btminphys,
0,
@@ -362,8 +361,7 @@ struct scsi_adapter bt_switch =
};
/* the below structure is so we have a default dev struct for out link struct */
-struct scsi_device bt_dev =
-{
+struct scsi_device bt_dev = {
NULL, /* Use default error handler */
NULL, /* have a queue, served by this */
NULL, /* have no async handler */
@@ -372,8 +370,7 @@ struct scsi_device bt_dev =
0
};
-struct cfdriver btcd =
-{
+struct cfdriver btcd = {
NULL,
"bt",
btprobe,
View
8 sys/arch/i386/isa/ultra14f.c
@@ -19,7 +19,7 @@
* commenced: Sun Sep 27 18:14:01 PDT 1992
* slight mod to make work with 34F as well: Wed Jun 2 18:05:48 WST 1993
*
- * $Id: ultra14f.c,v 1.13.2.10 1994/02/02 19:21:38 mycroft Exp $
+ * $Id: ultra14f.c,v 1.13.2.11 1994/03/25 10:19:43 mycroft Exp $
*/
#include "uha.h"
@@ -263,8 +263,7 @@ struct cfdriver uhacd = {
sizeof(struct uha_softc)
};
-struct scsi_adapter uha_switch =
-{
+struct scsi_adapter uha_switch = {
uha_scsi_cmd,
uhaminphys,
0,
@@ -274,8 +273,7 @@ struct scsi_adapter uha_switch =
};
/* the below structure is so we have a default dev struct for out link struct */
-struct scsi_device uha_dev =
-{
+struct scsi_device uha_dev = {
NULL, /* Use default error handler */
NULL, /* have a queue, served by this */
NULL, /* have no async handler */

0 comments on commit ad66287

Please sign in to comment.
Something went wrong with that request. Please try again.