summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
Commit message (Collapse)AuthorAgeFilesLines
* Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere().jhibbits2016-02-271-2/+2
| | | | | | | | Most calls to bus_alloc_resource() use "anywhere" as the range, with a given count. Migrate these to use the new bus_alloc_resource_anywhere() API. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D5370
* Create a generic PCCARD_PNP_INFO from the MODULE_PNP_INFO buildingimp2015-12-111-6/+6
| | | | | | | | | block. Use it in all the PNP drivers to export either the current PNP table. For uart, create a custom table and export it using MODULE_PNP_INFO since it's the only one that matches on function number. Differential Review: https://reviews.freebsd.org/D3461
* In order to reduce use of M_EXT outside of the mbuf allocator andrwatson2015-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
* Remove ifq_drops from struct ifqueue. Now queue drops are accounted inglebius2014-09-191-2/+0
| | | | | | | | | | struct ifnet if_oqdrops. Some netgraph modules used ifqueue w/o ifnet. Accounting of queue drops is simply removed from them. There were no API to read this statistic. Sponsored by: Netflix Sponsored by: Nginx, Inc.
* Mechanically substitute flags from historic mbuf allocator withglebius2012-12-051-2/+2
| | | | | | | | | malloc(9) flags within sys. Exceptions: - sys/contrib not touched - sys/mbuf.h edited manually
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-1/+1
| | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* Replace inb() and outb() with bus_space_read_1() and bus_space_write_1()emax2006-07-051-8/+10
| | | | | Submitted by: marius MFC after: 1 week
* Do not manually allocate/free device's softc structure.emax2005-10-261-14/+2
| | | | | Pointed by: jhb Reviewed by: imp, jhb
* - Use swi_remove() to teardown swi handlers rather thanjhb2005-10-261-2/+2
| | | | | intr_event_remove_handler(). - Remove tty: prefix from a couple of swi handler names.
* Catch up with new interrupt handling code.ru2005-10-261-3/+3
|
* Fix commentemax2005-09-221-1/+1
|
* Finish last commit: actually remove compat methods from bt3c_pccard_methodsimp2005-09-221-7/+3
|
* Remove broken OLDCARD compat shims.imp2005-09-221-16/+4
| | | | | "PC Card" is the correct spelling. "PC-Card" isn't, per the PCMCIA standard.
* Eliminate unused argument in PCMCIA_CARD macro.imp2005-06-241-1/+1
| | | | | | | | Provide a backwards compatible way to have the extra macro by defining PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that want/need to have the same driver on 5 and 6 with pccard attachments. Approved by: re (dwhite)
* Correct typo that could cause FIFO overflow.emax2005-04-061-1/+1
| | | | | PR: kern/78431 MFC after: 3 days
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+3
|
* Correct typo. Return ENXIO instead of EIO.emax2004-11-191-1/+1
|
* Missed these in the last commit.julian2004-05-291-12/+10
| | | | Change to C99 structure initialisation for the type method structure.
* Move to generating pccarddevs.h on the fly, both for the kernel andimp2004-05-261-1/+1
| | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
* Address few style issues pointed out by bdeemax2004-04-271-4/+4
| | | | Reviewed by: bde, ru
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-2/+2
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Part one of undating the bluetooth code to the newest versionjulian2003-05-101-43/+50
| | | | | Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* The second try a committing the bluetooth codejulian2002-11-201-0/+1247
Has been seen to work on several cards and communicating with several mobile phones to use them as modems etc. We are still talking with 3com to try get them to allow us to include the firmware for their pccard in the driver but the driver is here.. In the mean time it can be downloaded from the 3com website and loaded using the utility bt3cfw(8) (supplied) (instructions in the man page) Not yet linked to the build Submitted by: Maksim Yevmenkin <myevmenk@exodus.net> Approved by: re
OpenPOWER on IntegriCloud