freebsd-dev/share/examples
Warner Losh 6715fca911 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.
2000-12-18 21:08:53 +00:00
..
atm $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bootforth Good thing about these examples is that no one uses them, so they can 2000-09-05 16:30:09 +00:00
cvsup Add ports-french. 2000-09-22 06:30:38 +00:00
diskless Remove binary files from source tree 2000-01-09 12:57:41 +00:00
drivers o Add cardbus support (use pci attachment for now) 2000-12-18 21:08:53 +00:00
etc Add a reference to the fetch(3) man page. 2000-12-10 13:24:41 +00:00
find_interface $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
FreeBSD_version $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ibcs2
IPv6 Add IPv6 related docs. 2000-02-26 19:44:12 +00:00
isdn Ooops, forgot to add the originator for the last FAQ entry 2000-11-01 14:08:58 +00:00
kld Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
libvgl Initiate deorbit burn sequence for <machine/console.h>. 2000-10-08 21:34:00 +00:00
mdoc mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
meteor Sweep through the tree fixing mmap() usage: 1997-01-16 21:58:40 +00:00
netgraph Script showing how to setup Ethernet bridging using ng_bridge(4). 2000-10-01 21:14:14 +00:00
nwclient Add examples for a mount_nwfs command. 1999-11-03 12:06:13 +00:00
perfmon $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
portal Add portal example 1998-12-15 19:05:35 +00:00
ppi make the example compile again. 2000-04-27 21:08:24 +00:00
ppp Add more comments, fix a typo, mention how to do PPPoUDP using encryption 2000-12-01 11:52:22 +00:00
pppd Add various system usernames (even though I try to avoid pppd!!!) 2000-07-06 19:05:43 +00:00
printing $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
scsi_target Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
ses Update SES userland examples to something out of the toy stage. 2000-02-29 05:44:19 +00:00
slattach -u unit-command example 1996-02-17 19:36:08 +00:00
sliplogin syntax error in /usr/share/examples/sliplogin/slip.hosts 1998-03-02 02:52:38 +00:00
startslip
sunrpc Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
worm This is a very obsolete example file for wormcontrol, which is no 2000-09-22 15:05:04 +00:00
Makefile Revert previous commit. 1999-12-09 09:35:36 +00:00