<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/cp, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-12-13T20:24:52Z</updated>
<entry>
<title>retire cp(4) driver</title>
<updated>2022-12-13T20:24:52Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-09-24T14:08:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=895992bb66d214f34c76a2b9da1133d457b2dee1'/>
<id>urn:sha1:895992bb66d214f34c76a2b9da1133d457b2dee1</id>
<content type='text'>
Sync serial (e.g. T1/T1/G.703) interfaces are obsolete, this driver
includes obfuscated source, and has reported potential security issues.

Differential Revision:  https://reviews.freebsd.org/D33468
</content>
</entry>
<entry>
<title>retire ce(4) driver</title>
<updated>2022-12-13T20:24:25Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-02-02T18:27:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76f6751844920f768b944ecadec94aaa77ccb40e'/>
<id>urn:sha1:76f6751844920f768b944ecadec94aaa77ccb40e</id>
<content type='text'>
Sync serial (e.g. T1/T1/G.703) interfaces are obsolete, this driver
includes obfuscated source, and has reported potential security issues.

Differential Revision:	https://reviews.freebsd.org/D33467
</content>
</entry>
<entry>
<title>Add deprecation notices to ce,cp sync serial drivers</title>
<updated>2022-12-13T19:59:08Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-02T17:31:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=20dfe27b2d031c4000f5be94fd1db8872167a537'/>
<id>urn:sha1:20dfe27b2d031c4000f5be94fd1db8872167a537</id>
<content type='text'>
And the related sconfig utility.  Sync serial (e.g. E1/T1) interfaces
are obsolete, and nobody responded to several inquires on the mailing
lists about use of these drivers.

Relnotes:	Yes
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D23928
</content>
</entry>
<entry>
<title>cp: Remove unused devclass argument to DRIVER_MODULE.</title>
<updated>2022-05-09T21:26:43Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-05-09T21:26:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=12d9ce9d4daf7426c1be74d58007e7e7d6c83e97'/>
<id>urn:sha1:12d9ce9d4daf7426c1be74d58007e7e7d6c83e97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove checks for __CC_SUPPORTS__INLINE assuming it is always true.</title>
<updated>2022-04-12T17:06:09Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-04-12T17:06:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f08613087a9756886a1f219b67b0e79a1efd5e8c'/>
<id>urn:sha1:f08613087a9756886a1f219b67b0e79a1efd5e8c</id>
<content type='text'>
All supported compilers (modern versions of GCC and clang) support
this.

PR:		263102 (exp-run)
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D34802
</content>
</entry>
<entry>
<title>ce,cp: Remove pointless checks for &lt;sys/cdefs.h&gt;</title>
<updated>2022-04-12T17:05:34Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-04-12T17:05:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17554af4e8531f443fce1a58ab6d4b45d82af5f2'/>
<id>urn:sha1:17554af4e8531f443fce1a58ab6d4b45d82af5f2</id>
<content type='text'>
Both of these headers check for _SYS_CDEFS_H_ after including
&lt;sys/param.h&gt; which itself includes &lt;sys/cdefs.h&gt;.

PR:		263102 (exp-run)
Reviewed by:	brooks, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D34795
</content>
</entry>
<entry>
<title>Retire synchronous PPP kernel driver sppp(4).</title>
<updated>2021-10-22T18:41:36Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2021-10-21T04:08:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6aae3517ed2500fb963ba0a4264b4756088dd0f4'/>
<id>urn:sha1:6aae3517ed2500fb963ba0a4264b4756088dd0f4</id>
<content type='text'>
The last two drivers that required sppp are cp(4) and ce(4).

These devices are still produced and can be purchased
at Cronyx &lt;http://cronyx.ru/hardware/wan.html&gt;.

Since Roman Kurakin &lt;rik@FreeBSD.org&gt; has quit them, they no
longer support FreeBSD officially.  Later they have dropped
support for Linux drivers to.  As of mid-2020 they don't even
have a developer to maintain their Windows driver.  However,
their support verbally told me that they could provide aid to
a FreeBSD developer with documentaion in case if there appears
a new customer for their devices.

These drivers have a feature to not use sppp(4) and create an
interface, but instead expose the device as netgraph(4) node.
Then, you can attach ng_ppp(4) with help of ports/net/mpd5 on
top of the node and get your synchronous PPP.  Alternatively
you can attach ng_frame_relay(4) or ng_cisco(4) for HDLC.
Actually, last time I used cp(4) back in 2004, using netgraph(4)
instead of sppp(4) was already the right way to do.

Thus, remove the sppp(4) related part of the drivers and enable
by default the negraph(4) part.  Further maintenance of these
drivers in the tree shouldn't be a big deal.

While doing that, remove some cruft and enable cp(4) compilation
on amd64.  The ce(4) for some unknown reason marks its internal
DDK functions with __attribute__ fastcall, which most likely is
safe to remove, but without hardware I'm not going to do that, so
ce(4) remains i386-only.

Reviewed by:		emaste, imp, donner
Differential Revision:	https://reviews.freebsd.org/D32590
See also:		https://reviews.freebsd.org/D23928
</content>
</entry>
<entry>
<title>Use a separate copy of machdep.h in cp and ce drivers</title>
<updated>2020-03-20T19:28:55Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-20T19:28:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e3e6a34984f2ab400ffaf8e948f8c24f16f0e087'/>
<id>urn:sha1:e3e6a34984f2ab400ffaf8e948f8c24f16f0e087</id>
<content type='text'>
Previously they included sys/dev/cx/machdep.h, but the cx driver was
retired in r359178.  These drivers haven't had real development for
a decade or more so there's no real benefit in sharing this file; just
copy it to the ce and cp subdirs.
</content>
</entry>
<entry>
<title>sys/dev: Replace zero with NULL for pointers.</title>
<updated>2017-02-20T03:43:12Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-02-20T03:43:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d24901ac9131267fd188c5e1ee19a219847238a'/>
<id>urn:sha1:4d24901ac9131267fd188c5e1ee19a219847238a</id>
<content type='text'>
Makes things easier to read, plus architectures may set NULL to something
different than zero.

Found with:	devel/coccinelle
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>sys/dev: minor spelling fixes.</title>
<updated>2016-05-03T03:41:25Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-05-03T03:41:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=453130d9bfc1c6d68b366dfcb041689d69f81295'/>
<id>urn:sha1:453130d9bfc1c6d68b366dfcb041689d69f81295</id>
<content type='text'>
Most affect comments, very few have user-visible effects.
</content>
</entry>
</feed>
