diff options
author | tmm <tmm@FreeBSD.org> | 2002-10-16 17:03:36 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2002-10-16 17:03:36 +0000 |
commit | 04ced36540f738e227706ff123215a16a68d7cad (patch) | |
tree | 6f6a99843888152225dca361dbd56f19cc66a2fa /sys/sparc64/pci/psychovar.h | |
parent | 0697960fd6b7997e015649dd5508c734cc02e67d (diff) | |
download | FreeBSD-src-04ced36540f738e227706ff123215a16a68d7cad.zip FreeBSD-src-04ced36540f738e227706ff123215a16a68d7cad.tar.gz |
Use a linked list to keep the psycho softcs instead of a statically
sized array.
While being there, deuglify the psycho pair detection loop which became
quite awkward in a previous code reorganization.
Diffstat (limited to 'sys/sparc64/pci/psychovar.h')
-rw-r--r-- | sys/sparc64/pci/psychovar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/pci/psychovar.h b/sys/sparc64/pci/psychovar.h index cee7c77..d79ff18 100644 --- a/sys/sparc64/pci/psychovar.h +++ b/sys/sparc64/pci/psychovar.h @@ -87,6 +87,8 @@ struct psycho_softc { struct rman sc_mem_rman; struct rman sc_io_rman; + + SLIST_ENTRY(psycho_softc) sc_link; }; #endif /* _SPARC64_PCI_PSYCHOVAR_H_ */ |