History log of /openbsd-current/sys/dev/pci/if_rtw_pci.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.22 24-May-2024 jsg

remove unneeded includes; ok miod@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.21 11-Mar-2022 mpi

Constify struct cfattach.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.20 24-Nov-2015 mpi

You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.19 22-Dec-2014 tedu

unifdef INET


# 1.18 19-Dec-2014 guenther

Use <sys/endian.h> instead of <machine/endian.h>

ok dlg@ mpi@ bcook@ millert@ miod@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.17 05-Dec-2012 deraadt

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis


# 1.16 18-Oct-2012 deraadt

Convert a number of old private copies of code which predates
pci_set_powerstate() to using it instead. Many of these chunks of code had
bugs in them, especially missing delay() calls. Some of them were doing
things our PCI subsystem is now responsible for handling. If you have
any of the affected devices, please keep an eye out for regressions.
ok kettenis


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.15 03-Apr-2011 jasper

use nitems(); no binary change for drivers that are compiled on amd64.

ok claudio@


Revision tags: OPENBSD_4_9_BASE
# 1.14 29-Aug-2010 deraadt

Massage the powerhook functions into activate functions, and then call
them from the powerhook. Fix a few quibbles about the things done for
the IFF_RUNNING and IFF_UP cases
ok kettenis


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.13 26-Jun-2009 deraadt

Two pci'd that come from cardbus, in case anyone ever needs them...
ok jsg


# 1.12 02-Jun-2009 jsg

Make rtw at pci detachable.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.11 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.10 22-Oct-2007 fgsch

only output on situations where power state is D3. unify the message in
such cases. ok brad@ kettenis@


# 1.9 22-Oct-2007 fgsch

Use pci_set_powerstate(), shrinking the code and unifying the different
versions. ok by many.


# 1.8 05-Sep-2007 jsg

Only match on RTL8185 if RTW_DEBUG is set, support for the RTL8185
was never finished due to a lack of information on the radios.
ok reyk@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 08-Sep-2005 jsg

Remove the last of the FreeBSD compatiblity goop.
ok reyk@


Revision tags: OPENBSD_3_8_BASE
# 1.6 09-Aug-2005 mickey

do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ ok


# 1.5 29-May-2005 reyk

add the RTL8185 (not working yet)


# 1.4 15-Apr-2005 jsg

Simplify matching logic using pci_matchbyid() and correct some comments.


Revision tags: OPENBSD_3_7_BASE
# 1.3 09-Feb-2005 mcbride

Attach to the D-Link DWL-510.

ok dlg@ jsg@


# 1.2 31-Dec-2004 jsg

Move the cfdriver struct to rtw.c where it belongs so cardbus rtw
can be enabled seperately from pci rtw. From fgsch@


# 1.1 29-Dec-2004 jsg

Driver for Realtek 802.11 devices from NetBSD.
Not yet working.


# 1.21 11-Mar-2022 mpi

Constify struct cfattach.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.20 24-Nov-2015 mpi

You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.19 22-Dec-2014 tedu

unifdef INET


# 1.18 19-Dec-2014 guenther

Use <sys/endian.h> instead of <machine/endian.h>

ok dlg@ mpi@ bcook@ millert@ miod@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.17 05-Dec-2012 deraadt

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis


# 1.16 18-Oct-2012 deraadt

Convert a number of old private copies of code which predates
pci_set_powerstate() to using it instead. Many of these chunks of code had
bugs in them, especially missing delay() calls. Some of them were doing
things our PCI subsystem is now responsible for handling. If you have
any of the affected devices, please keep an eye out for regressions.
ok kettenis


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.15 03-Apr-2011 jasper

use nitems(); no binary change for drivers that are compiled on amd64.

ok claudio@


Revision tags: OPENBSD_4_9_BASE
# 1.14 29-Aug-2010 deraadt

Massage the powerhook functions into activate functions, and then call
them from the powerhook. Fix a few quibbles about the things done for
the IFF_RUNNING and IFF_UP cases
ok kettenis


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.13 26-Jun-2009 deraadt

Two pci'd that come from cardbus, in case anyone ever needs them...
ok jsg


# 1.12 02-Jun-2009 jsg

Make rtw at pci detachable.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.11 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.10 22-Oct-2007 fgsch

only output on situations where power state is D3. unify the message in
such cases. ok brad@ kettenis@


# 1.9 22-Oct-2007 fgsch

Use pci_set_powerstate(), shrinking the code and unifying the different
versions. ok by many.


# 1.8 05-Sep-2007 jsg

Only match on RTL8185 if RTW_DEBUG is set, support for the RTL8185
was never finished due to a lack of information on the radios.
ok reyk@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 08-Sep-2005 jsg

Remove the last of the FreeBSD compatiblity goop.
ok reyk@


Revision tags: OPENBSD_3_8_BASE
# 1.6 09-Aug-2005 mickey

do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ ok


# 1.5 29-May-2005 reyk

add the RTL8185 (not working yet)


# 1.4 15-Apr-2005 jsg

Simplify matching logic using pci_matchbyid() and correct some comments.


Revision tags: OPENBSD_3_7_BASE
# 1.3 09-Feb-2005 mcbride

Attach to the D-Link DWL-510.

ok dlg@ jsg@


# 1.2 31-Dec-2004 jsg

Move the cfdriver struct to rtw.c where it belongs so cardbus rtw
can be enabled seperately from pci rtw. From fgsch@


# 1.1 29-Dec-2004 jsg

Driver for Realtek 802.11 devices from NetBSD.
Not yet working.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.20 24-Nov-2015 mpi

You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.19 22-Dec-2014 tedu

unifdef INET


# 1.18 19-Dec-2014 guenther

Use <sys/endian.h> instead of <machine/endian.h>

ok dlg@ mpi@ bcook@ millert@ miod@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.17 05-Dec-2012 deraadt

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis


# 1.16 18-Oct-2012 deraadt

Convert a number of old private copies of code which predates
pci_set_powerstate() to using it instead. Many of these chunks of code had
bugs in them, especially missing delay() calls. Some of them were doing
things our PCI subsystem is now responsible for handling. If you have
any of the affected devices, please keep an eye out for regressions.
ok kettenis


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.15 03-Apr-2011 jasper

use nitems(); no binary change for drivers that are compiled on amd64.

ok claudio@


Revision tags: OPENBSD_4_9_BASE
# 1.14 29-Aug-2010 deraadt

Massage the powerhook functions into activate functions, and then call
them from the powerhook. Fix a few quibbles about the things done for
the IFF_RUNNING and IFF_UP cases
ok kettenis


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.13 26-Jun-2009 deraadt

Two pci'd that come from cardbus, in case anyone ever needs them...
ok jsg


# 1.12 02-Jun-2009 jsg

Make rtw at pci detachable.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.11 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.10 22-Oct-2007 fgsch

only output on situations where power state is D3. unify the message in
such cases. ok brad@ kettenis@


# 1.9 22-Oct-2007 fgsch

Use pci_set_powerstate(), shrinking the code and unifying the different
versions. ok by many.


# 1.8 05-Sep-2007 jsg

Only match on RTL8185 if RTW_DEBUG is set, support for the RTL8185
was never finished due to a lack of information on the radios.
ok reyk@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 08-Sep-2005 jsg

Remove the last of the FreeBSD compatiblity goop.
ok reyk@


Revision tags: OPENBSD_3_8_BASE
# 1.6 09-Aug-2005 mickey

do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ ok


# 1.5 29-May-2005 reyk

add the RTL8185 (not working yet)


# 1.4 15-Apr-2005 jsg

Simplify matching logic using pci_matchbyid() and correct some comments.


Revision tags: OPENBSD_3_7_BASE
# 1.3 09-Feb-2005 mcbride

Attach to the D-Link DWL-510.

ok dlg@ jsg@


# 1.2 31-Dec-2004 jsg

Move the cfdriver struct to rtw.c where it belongs so cardbus rtw
can be enabled seperately from pci rtw. From fgsch@


# 1.1 29-Dec-2004 jsg

Driver for Realtek 802.11 devices from NetBSD.
Not yet working.