diff options
author | imp <imp@FreeBSD.org> | 2000-12-18 21:08:53 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-12-18 21:08:53 +0000 |
commit | 11d91a4b9e3e3d87b288a36480f6b3c345134e45 (patch) | |
tree | 95e3966767e608d88b799f3b8228fe9fbdded3b7 /sbin/fsck_ffs | |
parent | ca04e3fbb5ca9f2689de7453df4c3d85db12b705 (diff) | |
download | FreeBSD-src-11d91a4b9e3e3d87b288a36480f6b3c345134e45.zip FreeBSD-src-11d91a4b9e3e3d87b288a36480f6b3c345134e45.tar.gz |
o Add cardbus support (use pci attachment for now)
<bde>
o Add comments in some places to clarify some points.
o Don't typedef sc_p. This isn't usually done in the drivers and may
cause problems in teh future if C goes the C++ route of requiring
one and only one definition for each and every type. Instead use
the current convetion of expanding struct ${1}_softc * inline needed.
o change some comments to be more style(9)-like.
o Define and use DEV2SOFTC to encapsulate storing/getting softc from a
dev_t. This also takes care of the missing cast from the examples.
o Define and use DEVICE2SOFTC, similar to DEV2SOFTC for getting the
softc from a device_t.
</bde>
We still should have this generate foo_{isa,pci,pccard,cardbus,eisa}.c
and foovar.h from templates of some sort, but I was too lazy to do
that in this commit. I did document it in the comments, however.
Note: bde-like corrections made with the help of my my portable
plastic bde icon. Results with the real bde may vary with use.
Diffstat (limited to 'sbin/fsck_ffs')
0 files changed, 0 insertions, 0 deletions