summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/bluetooth/drivers
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesimp2005-01-078-8/+24
|
* Correct typo. Return ENXIO instead of EIO.emax2004-11-191-1/+1
|
* Fix broken ng_h4(4). Basically, do not abuse t_sc field and use new t_lscemax2004-11-021-7/+9
| | | | | field created for line disciplne drivers private use. Also add NET_NEEDS_GIANT warning. For whatever reason ng_tty(4) was fixed but ng_h4(4) was not :(
* Get rid of device nodes interface. It is useless and confusing.emax2004-10-122-532/+1
| | | | | | | | | | The original idea was to use it for firmware upgrading and similar operations. In real life almost all Bluetooth USB devices do not need firmware download. If device does require firmware download then ugen(4) (or specialized driver like ubtbcmfw(8)) should be used instead. MFC after: 3 days
* MFp4: Last references to dev/usb/usbdevs.h converted.imp2004-06-272-2/+4
|
* Catch up with usbd_get_string_desc() change.le2004-06-261-1/+1
| | | | Spotted by: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
* Fix line discipline switching issues: If opening a new ldisc fails,phk2004-06-261-10/+1
| | | | | | | | | | | | | we have to revert to TTYDISC which we know will successfully open rather than try the previous ldisc which might also fail to open. Do not let ldisc implementations muck about with ->t_line, and remove code which checks for reopens, it should never happen. Move ldisc->l_hotchar to tty->t_hotchar and have ldisc implementation initialize it in their open routines. Reset to zero when we enter TTYDISC. ("no" should really be -1 since zero could be a valid hotchar for certain old european mainframe protocols.)
* Second half of the dev_t cleanup.phk2004-06-172-21/+21
| | | | | | | | | | | The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev() Various minor adjustments including handling of userland access to kernel space struct cdev etc.
* Do the dreaded s/dev_t/struct cdev */phk2004-06-164-20/+20
| | | | Bump __FreeBSD_version accordingly.
* add missing #include <sys/module.h>phk2004-05-302-0/+2
|
* Missed these in the last commit.julian2004-05-293-36/+31
| | | | 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-273-13/+13
| | | | Reviewed by: bde, ru
* Make sure Bluetooth stuff can be compiled on amd64emax2004-04-091-1/+1
| | | | Submitted by: ps
* 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
* Device megapatch 4/6:phk2004-02-212-0/+4
| | | | | | | | Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
* Device megapatch 1/6:phk2004-02-212-14/+0
| | | | | | | Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
* Replace deprecated NG_NODELEN with the new NG_NODESIZ. There is oneharti2004-01-261-2/+2
| | | | | | | problem here still to be solved: the sockaddr_hci has still a 16 byte field for the node name. The code currently does not correctly use the length field in the sockaddr to handle the address length, so node names get truncated to 15 characters when put into a sockaddr_hci.
* Change double include protection style in headers to matchemax2003-11-142-2/+2
| | | | | | | the rest of Netgraph code. Reviewed by: imp, ru Approved by: imp (mentor)
* Update Bluetooth code.emax2003-10-122-3/+2
| | | | | Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org> Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
* I don't know from where the notion that device driver should orphk2003-09-282-29/+2
| | | | | | | | | | | | | | even could call VOP_REVOKE() on vnodes associated with its dev_t's has originated, but it stops right here. If there are things people belive destroy_dev() needs to learn how to do, please tell me about it, preferably with a reproducible test case. Include <sys/uio.h> in bluetooth code rather than rely on <sys/vnode.h> to do so. The fact that some of the USB code needs to include <sys/vnode.h> still disturbs me greatly, but I do not have time to chase that.
* add missing machine/bus.h that is necessary to build now that usb is bus_dmajmg2003-07-161-0/+1
| | | | aware.
* Last commit of the bluetooth upgrade. (this patch was forgotten in the firstjulian2003-05-101-2/+2
| | | | | | | commit) Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@
* Part one of undating the bluetooth code to the newest versionjulian2003-05-1010-610/+1745
| | | | | Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@
* Back out M_* changes, per decision of the TRB.imp2003-02-193-7/+7
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-213-7/+7
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-2/+2
| | | | especially in troff files.
* fixes for this driver:julian2002-11-261-2/+38
| | | | | | | | 1) "ubt" driver did not work when system is booted with the device attached 2) missing "break;" in ubt_rcvmsg() function; Submitted by: Maksim Yevmenkin <Maksim.Yevmenkin@cw.com> Approved by: re (jhb)
* The second try a committing the bluetooth codejulian2002-11-209-0/+4983
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