<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ichsmb/ichsmb.c, branch releng/6.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F6.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F6.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2006-09-22T19:19:16Z</updated>
<entry>
<title>MFC: Minor overhaul of SMBus support including:</title>
<updated>2006-09-22T19:19:16Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2006-09-22T19:19:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c5d10be1e7e035bd02c64b653cb83671efa3b5ef'/>
<id>urn:sha1:c5d10be1e7e035bd02c64b653cb83671efa3b5ef</id>
<content type='text'>
- Changing the smbus_bread() function in the smbus interface to return the
  actual number of bytes read.
- Changing the SMB_BREAD ioctl of /dev/smbX to return the actual number of
  bytes read.
- Attaching smb(4) to smbus(4) via an identify routine.
- Adding locking to smbus(4).
- Fixing the bread() and bwrite() methods of alpm(4), amdpm(4), and
  viapm(4) to only perform a single transaction.
- Fix several buffer overflows with bread() and SMB_BREAD.

Approved by:	re (mux)
</content>
</entry>
<entry>
<title>MFC: Make ichsmb unloadable</title>
<updated>2005-08-19T18:38:55Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2005-08-19T18:38:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f8a43081e4913c143ffa3e91e32ce4cfa3796b7'/>
<id>urn:sha1:1f8a43081e4913c143ffa3e91e32ce4cfa3796b7</id>
<content type='text'>
Approved by:	re (kensmith)
Sponsored by:	Sophos/ActiveState
</content>
</entry>
<entry>
<title>Make ichsmb(4) child device handling properly.</title>
<updated>2005-06-10T16:12:43Z</updated>
<author>
<name>Takanori Watanabe</name>
<email>takawata@FreeBSD.org</email>
</author>
<published>2005-06-10T16:12:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e6e32da7b4f3a3d2b0e9c6ac6de52cf46d5fc35'/>
<id>urn:sha1:2e6e32da7b4f3a3d2b0e9c6ac6de52cf46d5fc35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use BUS_PROBE_DEFAULT for pci probe return value</title>
<updated>2005-03-05T18:17:35Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-03-05T18:17:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b77e575e1dd3257e0ae72a69ee1897510f7a27ed'/>
<id>urn:sha1:b77e575e1dd3257e0ae72a69ee1897510f7a27ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netchild's mega-patch to isolate compiler dependencies into a central</title>
<updated>2005-03-02T21:33:29Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2005-03-02T21:33:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a5f50ef9e43b28e15a7e2a2aec73754456619f17'/>
<id>urn:sha1:a5f50ef9e43b28e15a7e2a2aec73754456619f17</id>
<content type='text'>
place.

This moves the dependency on GCC's and other compiler's features into
the central sys/cdefs.h file, while the individual source files can
then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to
refer to #if __GNUC__ &gt; 3.1415 &amp;&amp; __BARC__ &lt;= 42.

By now, GCC and ICC (the Intel compiler) have been actively tested on
IA32 platforms by netchild.  Extension to other compilers is supposed
to be possible, of course.

Submitted by:	netchild
Reviewed by:	various developers on arch@, some time ago
</content>
</entry>
<entry>
<title>Start each of the license/copyright comments with /*-, minor shuffle of lines</title>
<updated>2005-01-06T01:43:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-06T01:43:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=098ca2bda93c701c5331d4e6aace072495b4caaa'/>
<id>urn:sha1:098ca2bda93c701c5331d4e6aace072495b4caaa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>These are changes to allow to use the Intel C/C++ compiler (lang/icc)</title>
<updated>2004-03-12T21:45:33Z</updated>
<author>
<name>Tom Rhodes</name>
<email>trhodes@FreeBSD.org</email>
</author>
<published>2004-03-12T21:45:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a122cca95357f39039d19fd639373416dd863081'/>
<id>urn:sha1:a122cca95357f39039d19fd639373416dd863081</id>
<content type='text'>
to build the kernel. It doesn't affect the operation if gcc.

Most of the changes are just adding __INTEL_COMPILER to #ifdef's, as
icc v8 may define __GNUC__ some parts may look strange but are
necessary.

Additional changes:
 - in_cksum.[ch]:
   * use a generic C version instead of the assembly version in the !gcc
     case (ASM code breaks with the optimizations icc does)
     -&gt; no bad checksums with an icc compiled kernel
     Help from:		andre, grehan, das
     Stolen from: 	alpha version via ppc version
     The entire checksum code should IMHO be replaced with the DragonFly
     version (because it isn't guaranteed future revisions of gcc will
     include similar optimizations) as in:
        ---snip---
          Revision  Changes    Path
          1.12      +1 -0      src/sys/conf/files.i386
          1.4       +142 -558  src/sys/i386/i386/in_cksum.c
          1.5       +33 -69    src/sys/i386/include/in_cksum.h
          1.5       +2 -0      src/sys/netinet/igmp.c
          1.6       +0 -1      src/sys/netinet/in.h
          1.6       +2 -0      src/sys/netinet/ip_icmp.c

          1.4       +3 -4      src/contrib/ipfilter/ip_compat.h
          1.3       +1 -2      src/sbin/natd/icmp.c
          1.4       +0 -1      src/sbin/natd/natd.c
          1.48      +1 -0      src/sys/conf/files
          1.2       +0 -1      src/sys/conf/files.amd64
          1.13      +0 -1      src/sys/conf/files.i386
          1.5       +0 -1      src/sys/conf/files.pc98
          1.7       +1 -1      src/sys/contrib/ipfilter/netinet/fil.c
          1.10      +2 -3      src/sys/contrib/ipfilter/netinet/ip_compat.h
          1.10      +1 -1      src/sys/contrib/ipfilter/netinet/ip_fil.c
          1.7       +1 -1      src/sys/dev/netif/txp/if_txp.c
          1.7       +1 -1      src/sys/net/ip_mroute/ip_mroute.c
          1.7       +1 -2      src/sys/net/ipfw/ip_fw2.c
          1.6       +1 -2      src/sys/netinet/igmp.c
          1.4       +158 -116  src/sys/netinet/in_cksum.c
          1.6       +1 -1      src/sys/netinet/ip_gre.c
          1.7       +1 -2      src/sys/netinet/ip_icmp.c
          1.10      +1 -1      src/sys/netinet/ip_input.c
          1.10      +1 -2      src/sys/netinet/ip_output.c
          1.13      +1 -2      src/sys/netinet/tcp_input.c
          1.9       +1 -2      src/sys/netinet/tcp_output.c
          1.10      +1 -1      src/sys/netinet/tcp_subr.c
          1.10      +1 -1      src/sys/netinet/tcp_syncache.c
          1.9       +1 -2      src/sys/netinet/udp_usrreq.c

          1.5       +1 -2      src/sys/netinet6/ipsec.c
          1.5       +1 -2      src/sys/netproto/ipsec/ipsec.c
          1.5       +1 -1      src/sys/netproto/ipsec/ipsec_input.c
          1.4       +1 -2      src/sys/netproto/ipsec/ipsec_output.c

          and finally remove
            sys/i386/i386        in_cksum.c
            sys/i386/include     in_cksum.h
        ---snip---
 - endian.h:
   * DTRT in C++ mode
 - quad.h:
   * we don't use gcc v1 anymore, remove support for it
   Suggested by:	bde (long ago)
 - assym.h:
   * avoid zero-length arrays (remove dependency on a gcc specific
     feature)
     This change changes the contents of the object file, but as it's
     only used to generate some values for a header, and the generator
     knows how to handle this, there's no impact in the gcc case.
   Explained by:	bde
   Submitted by:	Marius Strobl &lt;marius@alchemy.franken.de&gt;
 - aicasm.c:
   * minor change to teach it about the way icc spells "-nostdinc"
   Not approved by:	gibbs (no reply to my mail)
 - bump __FreeBSD_version (lang/icc needs to know about the changes)

Incarnations of this patch survive gcc compiles since a loooong time,
I use it on my desktop. An icc compiled kernel works since Nov. 2003
(exceptions: snd_* if used as modules), it survives a build of the
entire ports collection with icc.

Parts of this commit contains suggestions or submissions from
Marius Strobl &lt;marius@alchemy.franken.de&gt;.

Reviewed by:	-arch
Submitted by:	netchild
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-08-24T17:55:58Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-08-24T17:55:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aad970f1fee9a2a3e5a0f880be9b87c6193b3bd1'/>
<id>urn:sha1:aad970f1fee9a2a3e5a0f880be9b87c6193b3bd1</id>
<content type='text'>
Also some minor style cleanups.
</content>
</entry>
<entry>
<title>Change callers of mtx_init() to pass in an appropriate lock type name.  In</title>
<updated>2002-04-04T21:03:38Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2002-04-04T21:03:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6008862bc2494a2094e15699f4f73fad800b6bcd'/>
<id>urn:sha1:6008862bc2494a2094e15699f4f73fad800b6bcd</id>
<content type='text'>
most cases NULL is passed, but in some cases such as network driver locks
(which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used.

Tested on:	i386, alpha, sparc64
</content>
</entry>
<entry>
<title>Update to C99, s/__FUNCTION__/__func__/,</title>
<updated>2001-12-10T08:09:49Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2001-12-10T08:09:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e551fb6285417f585c419500047004ed47c77f1'/>
<id>urn:sha1:6e551fb6285417f585c419500047004ed47c77f1</id>
<content type='text'>
also don't use ANSI string concatenation.
</content>
</entry>
</feed>
