Home | History | Annotate | Download | only in pcmcia
History log of /src/sys/dev/pcmcia/bt3c.c
RevisionDateAuthorComments
 1.24  05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.23  20-May-2014  rmind branches: 1.23.66;
netbt: rename some attach/detach functions to have _pcb suffix, so
we could use standard attach/detach naming for pr_usrreq functions.
No functional change.
 1.22  14-Jan-2012  plunky branches: 1.22.6; 1.22.20;
don't behave differently when DIAGNOSTIC is defined
 1.21  24-Feb-2010  dyoung branches: 1.21.10; 1.21.14;
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
 1.20  08-Jan-2010  dyoung branches: 1.20.2;
Expand PMF_FN_* macros.
 1.19  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.18  06-Apr-2008  plunky branches: 1.18.4; 1.18.18;
convert to use pmf(9) functions
 1.17  31-Mar-2008  plunky use aprint_error_dev(), for clarity
 1.16  28-Nov-2007  plunky branches: 1.16.14;
Clean up the way that bluetooth drivers attach to the bluetooth stack,
to remove the frobbing that drivers must do in the hci_unit structure.

- driver provides a static const interface descriptor
- hci_unit is allocated by hci_attach() rather than part of softc
- statistics are compiled by driver and provided on request
- driver provides output methods and is responsible for output queue
- stack provides input methods and is responsible for input queue
- mutex is used to arbitrate device queue access
 1.15  11-Nov-2007  plunky convert device printf() usages to aprint_xxxx()
 1.14  10-Nov-2007  plunky use more device_t and device_xxx() accessors

make bluetooth stack keep device_t instead of softc pointer as
device is not necessarily part of softc, and pass device_t to
driver callbacks. hci_devname is no longer required.
 1.13  03-Nov-2007  plunky branches: 1.13.2;
switch devices to using CFATTACH_DECL_NEW()
softc no longer contains 'struct device' by default
use 'device_t' instead of 'struct device *'
use device_xxx() accessor functions
remove casting of 'xxx_softc *' & 'struct device *'
use aprint_xxx_dev() routines
 1.12  19-Oct-2007  ad machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.11  02-Oct-2007  plunky branches: 1.11.2;
remove unused activate function
 1.10  23-Jul-2007  plunky branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10;
add detail (in comments) about S-Record format for firmware file
 1.9  27-Dec-2006  dogcow branches: 1.9.6; 1.9.14;
fix a (valid) "buf may be used uninitialized" warning/error in DIAGNOSTIC.
 1.8  27-Dec-2006  alc CID-3821: don't leak `fh' and close the firmware properly

ok christos@
 1.7  21-Dec-2006  yamt merge yamt-splraiseipl branch.

- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
 1.6  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.5  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.4  24-Sep-2006  jmcneill Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
 1.3  28-Aug-2006  plunky branches: 1.3.2; 1.3.4; 1.3.6;
Make suspend/resume work properly for bt3c device.

Since state is kept inside the device that will be lost, we need to
flush all information relating to this controller from the protocol
stack.
 1.2  28-Aug-2006  christos remove impossible conditional
 1.1  19-Jun-2006  gdamore branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.10;
Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
 1.1.10.1  01-Sep-2006  tron Pull up following revision(s) (requested by plunky in ticket #80):
sys/dev/pcmcia/bt3c.c: revision 1.3
Make suspend/resume work properly for bt3c device.
Since state is kept inside the device that will be lost, we need to
flush all information relating to this controller from the protocol
stack.
 1.1.8.2  13-Jul-2006  gdamore Merge from HEAD.
 1.1.8.1  19-Jun-2006  gdamore file bt3c.c was added on branch gdamore-uart on 2006-07-13 17:49:43 +0000
 1.1.6.3  03-Sep-2006  yamt sync with head.
 1.1.6.2  26-Jun-2006  yamt sync with head.
 1.1.6.1  19-Jun-2006  yamt file bt3c.c was added on branch yamt-pdpolicy on 2006-06-26 12:52:26 +0000
 1.1.4.2  22-Jun-2006  chap Complete a sync sys/ with head.
 1.1.4.1  19-Jun-2006  chap file bt3c.c was added on branch chap-midi on 2006-06-22 03:39:49 +0000
 1.1.2.7  07-Dec-2007  yamt sync with head
 1.1.2.6  15-Nov-2007  yamt sync with head.
 1.1.2.5  27-Oct-2007  yamt sync with head.
 1.1.2.4  03-Sep-2007  yamt sync with head.
 1.1.2.3  30-Dec-2006  yamt sync with head.
 1.1.2.2  21-Jun-2006  yamt sync with head.
 1.1.2.1  19-Jun-2006  yamt file bt3c.c was added on branch yamt-lazymbuf on 2006-06-21 15:06:14 +0000
 1.3.6.3  10-Dec-2006  yamt sync with head.
 1.3.6.2  22-Oct-2006  yamt sync with head
 1.3.6.1  18-Sep-2006  yamt adapt to new api.
 1.3.4.2  09-Sep-2006  rpaulo sync with head
 1.3.4.1  28-Aug-2006  rpaulo file bt3c.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:53:55 +0000
 1.3.2.2  12-Jan-2007  ad Sync with head.
 1.3.2.1  18-Nov-2006  ad Sync with head.
 1.9.14.1  15-Aug-2007  skrll Sync with HEAD.
 1.9.6.3  23-Oct-2007  ad Sync with head.
 1.9.6.2  09-Oct-2007  ad Sync with head.
 1.9.6.1  20-Aug-2007  ad Sync with HEAD.
 1.10.10.2  23-Jul-2007  plunky add detail (in comments) about S-Record format for firmware file
 1.10.10.1  23-Jul-2007  plunky file bt3c.c was added on branch matt-mips64 on 2007-07-23 18:08:21 +0000
 1.10.8.1  06-Oct-2007  yamt sync with head.
 1.10.6.2  09-Jan-2008  matt sync with HEAD
 1.10.6.1  06-Nov-2007  matt sync with HEAD
 1.10.4.5  03-Dec-2007  joerg Sync with HEAD.
 1.10.4.4  11-Nov-2007  joerg Sync with HEAD.
 1.10.4.3  04-Nov-2007  jmcneill Sync with HEAD.
 1.10.4.2  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.10.4.1  02-Oct-2007  joerg Sync with HEAD.
 1.11.2.2  13-Nov-2007  bouyer Sync with HEAD
 1.11.2.1  25-Oct-2007  bouyer Sync with HEAD.
 1.13.2.2  08-Dec-2007  mjf Sync with HEAD.
 1.13.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.16.14.2  02-Jun-2008  mjf Sync with HEAD.
 1.16.14.1  03-Apr-2008  mjf Sync with HEAD.
 1.18.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.18.4.2  11-Mar-2010  yamt sync with head
 1.18.4.1  16-May-2009  yamt sync with head
 1.20.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.21.14.1  18-Feb-2012  mrg merge to -current.
 1.21.10.1  17-Apr-2012  yamt sync with head
 1.22.20.1  10-Aug-2014  tls Rebase.
 1.22.6.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.23.66.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed