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

remove unneeded includes


Revision tags: OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.16 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE 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 OPENBSD_7_1_BASE
# 1.15 06-Dec-2013 deraadt

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people


# 1.14 14-Nov-2013 dlg

replace workqs with tasks for handling resume

from kimberley manning


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.13 06-Aug-2010 mglocker

ACPI suspend/resume for bwi(4). Initial diff from todd@, finished and
tested by me on X40 with a BCM4306.

OK deraadt@


# 1.12 27-Mar-2010 jsg

Give cardbus the pci_chipset_tag_t from pccbb and push it out through
cardbus_attach_args so we can switch to using proper pci config
space functions instead of callback based wrappers.

ok oga@ krw@ kettenis@


# 1.11 27-Mar-2010 jsg

Bring back cardbus_chipset_tag_t which is in practice a
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t
which can be passed to the normal pci functions.

Suggested by and ok kettenis@


# 1.10 22-Mar-2010 jsg

Remove some cardbus defines and types which are identical to
their pci counterparts, similar to recent changes in NetBSD.

ok oga@ deraadt@ jasper@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.9 29-Mar-2009 sthen

make various strings ("can't map mem space" and similar) more consistent
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).

ok deraadt, kettenis, "why not" miod.


Revision tags: OPENBSD_4_5_BASE
# 1.8 11-Sep-2008 brad

Remove the BCM4322 id. This is a 802.11n chipset and also requires v4 firmware.


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.7 21-Oct-2007 mglocker

Replace Cardbus_conf_* calls by cardbus_conf_* ones. This solves the
panic 'trap type 300` seen on macppc and makes my Linksys WPC54G Ver 3
cardbus device work entirely on my PowerBook G4.


# 1.6 27-Sep-2007 mglocker

Add automatic rate control (AMRR).


# 1.5 24-Sep-2007 mglocker

Remove BCM4311 and BCM4312 which are PCIe chipsets and therefore will not
come in Cardbus devices.

From brad@


# 1.4 15-Sep-2007 jsg

Properly fill in some of the pci information the driver uses internally.


# 1.3 13-Sep-2007 mglocker

No variable names in prototypes.


# 1.2 13-Sep-2007 mglocker

Enable access to PCI and Cardbus config space from the driver. Lets us
power on the device.


# 1.1 12-Sep-2007 mglocker

PCI and Cardbus hookup for the Broadcom AirForce devices.

OK jsg@


# 1.16 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE 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 OPENBSD_7_1_BASE
# 1.15 06-Dec-2013 deraadt

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people


# 1.14 14-Nov-2013 dlg

replace workqs with tasks for handling resume

from kimberley manning


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.13 06-Aug-2010 mglocker

ACPI suspend/resume for bwi(4). Initial diff from todd@, finished and
tested by me on X40 with a BCM4306.

OK deraadt@


# 1.12 27-Mar-2010 jsg

Give cardbus the pci_chipset_tag_t from pccbb and push it out through
cardbus_attach_args so we can switch to using proper pci config
space functions instead of callback based wrappers.

ok oga@ krw@ kettenis@


# 1.11 27-Mar-2010 jsg

Bring back cardbus_chipset_tag_t which is in practice a
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t
which can be passed to the normal pci functions.

Suggested by and ok kettenis@


# 1.10 22-Mar-2010 jsg

Remove some cardbus defines and types which are identical to
their pci counterparts, similar to recent changes in NetBSD.

ok oga@ deraadt@ jasper@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.9 29-Mar-2009 sthen

make various strings ("can't map mem space" and similar) more consistent
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).

ok deraadt, kettenis, "why not" miod.


Revision tags: OPENBSD_4_5_BASE
# 1.8 11-Sep-2008 brad

Remove the BCM4322 id. This is a 802.11n chipset and also requires v4 firmware.


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.7 21-Oct-2007 mglocker

Replace Cardbus_conf_* calls by cardbus_conf_* ones. This solves the
panic 'trap type 300` seen on macppc and makes my Linksys WPC54G Ver 3
cardbus device work entirely on my PowerBook G4.


# 1.6 27-Sep-2007 mglocker

Add automatic rate control (AMRR).


# 1.5 24-Sep-2007 mglocker

Remove BCM4311 and BCM4312 which are PCIe chipsets and therefore will not
come in Cardbus devices.

From brad@


# 1.4 15-Sep-2007 jsg

Properly fill in some of the pci information the driver uses internally.


# 1.3 13-Sep-2007 mglocker

No variable names in prototypes.


# 1.2 13-Sep-2007 mglocker

Enable access to PCI and Cardbus config space from the driver. Lets us
power on the device.


# 1.1 12-Sep-2007 mglocker

PCI and Cardbus hookup for the Broadcom AirForce devices.

OK jsg@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.15 06-Dec-2013 deraadt

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people


# 1.14 14-Nov-2013 dlg

replace workqs with tasks for handling resume

from kimberley manning


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.13 06-Aug-2010 mglocker

ACPI suspend/resume for bwi(4). Initial diff from todd@, finished and
tested by me on X40 with a BCM4306.

OK deraadt@


# 1.12 27-Mar-2010 jsg

Give cardbus the pci_chipset_tag_t from pccbb and push it out through
cardbus_attach_args so we can switch to using proper pci config
space functions instead of callback based wrappers.

ok oga@ krw@ kettenis@


# 1.11 27-Mar-2010 jsg

Bring back cardbus_chipset_tag_t which is in practice a
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t
which can be passed to the normal pci functions.

Suggested by and ok kettenis@


# 1.10 22-Mar-2010 jsg

Remove some cardbus defines and types which are identical to
their pci counterparts, similar to recent changes in NetBSD.

ok oga@ deraadt@ jasper@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.9 29-Mar-2009 sthen

make various strings ("can't map mem space" and similar) more consistent
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).

ok deraadt, kettenis, "why not" miod.


Revision tags: OPENBSD_4_5_BASE
# 1.8 11-Sep-2008 brad

Remove the BCM4322 id. This is a 802.11n chipset and also requires v4 firmware.


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.7 21-Oct-2007 mglocker

Replace Cardbus_conf_* calls by cardbus_conf_* ones. This solves the
panic 'trap type 300` seen on macppc and makes my Linksys WPC54G Ver 3
cardbus device work entirely on my PowerBook G4.


# 1.6 27-Sep-2007 mglocker

Add automatic rate control (AMRR).


# 1.5 24-Sep-2007 mglocker

Remove BCM4311 and BCM4312 which are PCIe chipsets and therefore will not
come in Cardbus devices.

From brad@


# 1.4 15-Sep-2007 jsg

Properly fill in some of the pci information the driver uses internally.


# 1.3 13-Sep-2007 mglocker

No variable names in prototypes.


# 1.2 13-Sep-2007 mglocker

Enable access to PCI and Cardbus config space from the driver. Lets us
power on the device.


# 1.1 12-Sep-2007 mglocker

PCI and Cardbus hookup for the Broadcom AirForce devices.

OK jsg@