<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/share/examples/drivers, branch releng/5.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F5.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F5.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2002-08-02T10:37:22Z</updated>
<entry>
<title>Modernise and tidy up.</title>
<updated>2002-08-02T10:37:22Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2002-08-02T10:37:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=418df1e498a6c833e1c25f324662eabe0d9c4cb3'/>
<id>urn:sha1:418df1e498a6c833e1c25f324662eabe0d9c4cb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Modify to make the generated device driver code work with current.</title>
<updated>2001-11-13T17:58:14Z</updated>
<author>
<name>Andrew R. Reiter</name>
<email>arr@FreeBSD.org</email>
</author>
<published>2001-11-13T17:58:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=853fbff5f7e5eb0ebab1bf097baed640c3d811f1'/>
<id>urn:sha1:853fbff5f7e5eb0ebab1bf097baed640c3d811f1</id>
<content type='text'>
- Use M_ZERO instead of another call to bzero().

Inspired by: misc/31905
</content>
</entry>
<entry>
<title>pseudo-device -&gt; device in kernel config lines. Removed whitespace at EOL.</title>
<updated>2001-05-01T09:15:30Z</updated>
<author>
<name>Jens Schweikhardt</name>
<email>schweikh@FreeBSD.org</email>
</author>
<published>2001-05-01T09:15:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ec09ef4ff8d0a377fd86c0c2e96a807a538fce4b'/>
<id>urn:sha1:ec09ef4ff8d0a377fd86c0c2e96a807a538fce4b</id>
<content type='text'>
Reviewed by:	joerg, dd
</content>
</entry>
<entry>
<title>Suggest that kernels are built with ``cd /usr/src; make buildkernel''</title>
<updated>2001-04-14T18:51:39Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2001-04-14T18:51:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=11027719c4b793b17fc24c5020fe7aac376932ae'/>
<id>urn:sha1:11027719c4b793b17fc24c5020fe7aac376932ae</id>
<content type='text'>
Add a comment saying that our softc is automatically allocated by the
parent bus.
Fix lots of spellings
</content>
</entry>
<entry>
<title>fix spelling errors, clarify comment, add $FreeBSD$</title>
<updated>2001-03-10T05:28:46Z</updated>
<author>
<name>Bill Fumerola</name>
<email>billf@FreeBSD.org</email>
</author>
<published>2001-03-10T05:28:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=02aa3ed484b32bc4450707e98e8e7bad4f97eabb'/>
<id>urn:sha1:02aa3ed484b32bc4450707e98e8e7bad4f97eabb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>o Add cardbus support (use pci attachment for now)</title>
<updated>2000-12-18T21:08:53Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2000-12-18T21:08:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6715fca9112576a7550f2d8683bb48a0f4ded460'/>
<id>urn:sha1:6715fca9112576a7550f2d8683bb48a0f4ded460</id>
<content type='text'>
&lt;bde&gt;
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.
&lt;/bde&gt;

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.
</content>
</entry>
<entry>
<title> Slight cleanups after comments from John Hay (Thanks!)</title>
<updated>2000-11-15T12:05:21Z</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2000-11-15T12:05:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=99fcf9836aa5be4f04f6fd94fde909287d23cc94'/>
<id>urn:sha1:99fcf9836aa5be4f04f6fd94fde909287d23cc94</id>
<content type='text'>
 Also add more comments.
</content>
</entry>
<entry>
<title>Share one devclass between ISA and PCI sections</title>
<updated>2000-11-12T10:46:38Z</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2000-11-12T10:46:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7dd17df71d928ce75de2d797d4e9442c77de4919'/>
<id>urn:sha1:7dd17df71d928ce75de2d797d4e9442c77de4919</id>
<content type='text'>
This will ensure unit numbers will co-ordinate between them
</content>
</entry>
<entry>
<title>Add basic PCI capability</title>
<updated>2000-11-11T09:49:49Z</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2000-11-11T09:49:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e904636ad48b97e10a52a816c486f98f5be7870b'/>
<id>urn:sha1:e904636ad48b97e10a52a816c486f98f5be7870b</id>
<content type='text'>
Not sure how unit numbers are carried across between
PCI and ISA though.. maybe there should be only one devclass between the two?
</content>
</entry>
<entry>
<title>Add more sample code having read the daemnnews article (August 2000)</title>
<updated>2000-11-09T18:55:44Z</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2000-11-09T18:55:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a3a6ee4c8e16b2478a8c8b1cc735204c363874e'/>
<id>urn:sha1:4a3a6ee4c8e16b2478a8c8b1cc735204c363874e</id>
<content type='text'>
</content>
</entry>
</feed>
