summaryrefslogtreecommitdiff
path: root/sys/dev/mn
AgeCommit message (Collapse)Author
2021-03-22retire obsolete mn(4) sync serial driverEd Maste
Approved by: phk Relnotes: yes
2020-12-07Fix compilation after r368397.Hans Petter Selasky
MFC after: 3 days Sponsored by: Mellanox Technologies // NVIDIA Networking Notes: svn path=/head/; revision=368409
2020-12-06Add deprecation notice to mn(4)Ed Maste
Sync serial (T1/E1) interfaces are largely irrelevant today and phk confirms this driver is unnecessary in review D23928. This leaves ce(4) and cp(4) in the tree. They're likely not relevant either, but glebius contacted the manufacturer and those devices are still available for purchase. At glebius' suggestion leave them in the tree as long as they do not impose a maintenace burden. Approved by: phk MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=368397
2020-08-30Followup on r364922. Old comment said that the only reason to putGleb Smirnoff
the hook at queue mode was that mn_rx_intr() doesn't run at splnet level. In today's netgraph the only legitimate reason for queue mode is recursion avoidance. So I see no reason for queue mode here. Not tested! Notes: svn path=/head/; revision=364975
2020-08-28Update outdated commentWarner Losh
There is no splnet anymore, so update the comment to drop references to it. Notes: svn path=/head/; revision=364922
2020-04-13Remove unused 'struct rtentry' definition.Alexander V. Chernikov
Notes: svn path=/head/; revision=359854
2017-11-30SPDX: use the Beerware identifier.Pedro F. Giffuni
Notes: svn path=/head/; revision=326408
2016-05-03sys/dev: minor spelling fixes.Pedro F. Giffuni
Most affect comments, very few have user-visible effects. Notes: svn path=/head/; revision=298955
2016-04-12Replace 0 with NULL for pointers in misc. device drivers.Pedro F. Giffuni
Found with devel/coccinelle. Notes: svn path=/head/; revision=297862
2015-01-06In order to reduce use of M_EXT outside of the mbuf allocator andRobert Watson
socket-buffer implementations, introduce a return value for MCLGET() (and m_cljget() that underlies it) to allow the caller to avoid testing M_EXT itself. Update all callers to use the return value. With this change, very few network device drivers remain aware of M_EXT; the primary exceptions lie in mbuf-chain pretty printers for debugging, and in a few cases, custom mbuf and cluster allocation implementations. NB: This is a difficult-to-test change as it touches many drivers for which I don't have physical devices. Instead we've gone for intensive review, but further post-commit review would definitely be appreciated to spot errors where changes could not easily be made mechanically, but were largely mechanical in nature. Differential Revision: https://reviews.freebsd.org/D1440 Reviewed by: adrian, bz, gnn Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=276750
2013-08-12Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCIScott Long
command register. The lazy BAR allocation code in FreeBSD sometimes disables this bit when it detects a range conflict, and will re-enable it on demand when a driver allocates the BAR. Thus, the bit is no longer a reliable indication of capability, and should not be checked. This results in the elimination of a lot of code from drivers, and also gives the opportunity to simplify a lot of drivers to use a helper API to set the busmaster enable bit. This changes fixes some recent reports of disk controllers and their associated drives/enclosures disappearing during boot. Submitted by: jhb Reviewed by: jfv, marius, achadd, achim MFC after: 1 day Notes: svn path=/head/; revision=254263
2013-01-30Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on ↵Sofian Brabez
device_method_t arrays Reviewed by: cognet Approved by: cognet Notes: svn path=/head/; revision=246128
2012-12-04Mechanically substitute flags from historic mbuf allocator withGleb Smirnoff
malloc(9) flags in sys/dev. Notes: svn path=/head/; revision=243857
2012-11-09Remove unused static mn_timeout.Roman Divacky
Notes: svn path=/head/; revision=242824
2008-11-02Move mn over. One of the last stragglers in sys/pci. There's noWarner Losh
module built for this hardware, so no changes needed. Notes: svn path=/head/; revision=184562