diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-01-23 07:53:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-01-23 07:53:01 +0000 |
commit | 70f8783114482fec3ceeb827631068cfa295f35c (patch) | |
tree | 029f45999785eb27fe81cceb58d0bcfc5f3b6c4c /sys/arch/luna88k/dev | |
parent | 23dd46d505121de510c955356150dedba821294b (diff) |
Use a consistant idiom/format when declaring scsi_adapter structures
in drivers. Terse one liners, NULLs instead of 0's, explicitly specify
all members, etc.
Nuke #ifdef notyet blocks related to the scsi_adapter in aic.
No intentional functional change.
ok tedu@
Diffstat (limited to 'sys/arch/luna88k/dev')
-rw-r--r-- | sys/arch/luna88k/dev/spc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/luna88k/dev/spc.c b/sys/arch/luna88k/dev/spc.c index 93c9f0bbb2c..679d388c4b3 100644 --- a/sys/arch/luna88k/dev/spc.c +++ b/sys/arch/luna88k/dev/spc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spc.c,v 1.9 2017/03/16 18:13:44 miod Exp $ */ +/* $OpenBSD: spc.c,v 1.10 2020/01/23 07:52:59 krw Exp $ */ /* $NetBSD: spc.c,v 1.4 2003/07/05 19:00:17 tsutsui Exp $ */ /*- @@ -60,10 +60,7 @@ struct cfdriver spc_cd = { }; struct scsi_adapter spc_switch = { - spc_scsi_cmd, - scsi_minphys, /* no max at this level; handled by DMA code */ - NULL, - NULL, + spc_scsi_cmd, scsi_minphys, NULL, NULL, NULL }; /* bus space tag for spc */ |