aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mn
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation after r368397.Hans Petter Selasky2020-12-071-1/+1
| | | | | | | | MFC after: 3 days Sponsored by: Mellanox Technologies // NVIDIA Networking Notes: svn path=/head/; revision=368409
* Add deprecation notice to mn(4)Ed Maste2020-12-061-0/+1
| | | | | | | | | | | | | | | | | 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
* Followup on r364922. Old comment said that the only reason to putGleb Smirnoff2020-08-301-2/+0
| | | | | | | | | | | 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
* Update outdated commentWarner Losh2020-08-281-1/+1
| | | | | | | | There is no splnet anymore, so update the comment to drop references to it. Notes: svn path=/head/; revision=364922
* Remove unused 'struct rtentry' definition.Alexander V. Chernikov2020-04-131-1/+0
| | | | Notes: svn path=/head/; revision=359854
* SPDX: use the Beerware identifier.Pedro F. Giffuni2017-11-301-0/+2
| | | | Notes: svn path=/head/; revision=326408
* sys/dev: minor spelling fixes.Pedro F. Giffuni2016-05-031-1/+1
| | | | | | | Most affect comments, very few have user-visible effects. Notes: svn path=/head/; revision=298955
* Replace 0 with NULL for pointers in misc. device drivers.Pedro F. Giffuni2016-04-121-7/+7
| | | | | | | Found with devel/coccinelle. Notes: svn path=/head/; revision=297862
* In order to reduce use of M_EXT outside of the mbuf allocator andRobert Watson2015-01-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCIScott Long2013-08-121-2/+2
| | | | | | | | | | | | | | | | | | | | 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
* Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on ↵Sofian Brabez2013-01-301-1/+1
| | | | | | | | | | device_method_t arrays Reviewed by: cognet Approved by: cognet Notes: svn path=/head/; revision=246128
* Mechanically substitute flags from historic mbuf allocator withGleb Smirnoff2012-12-041-7/+7
| | | | | | | malloc(9) flags in sys/dev. Notes: svn path=/head/; revision=243857
* Remove unused static mn_timeout.Roman Divacky2012-11-091-18/+0
| | | | Notes: svn path=/head/; revision=242824
* Move mn over. One of the last stragglers in sys/pci. There's noWarner Losh2008-11-021-0/+1450
module built for this hardware, so no changes needed. Notes: svn path=/head/; revision=184562