History log of /netbsd-current/sys/dev/acpi/sdhc_acpi.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.21 09-May-2024 dyoung

If the ACPI flag "non-removable" is present and true for an SD/MMC
slot, then set a new flag on that slot to indicate that the media
is non-removable. Make sdhc_card_detect always return true for a
slot if its non-removable media flag is set.

This change lets the kernel automatically configure the
permanently-installed MMC slot on the NXP LX2160-based HoneyComb
LX2 board.


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
# 1.20 06-Feb-2022 jmcneill

sdhc: Retire SDHC_FLAG_USE_ADMA2 flag.

ADMA2 support in sdhc is mature now, so no need for it to be opt-in.


# 1.19 15-Jan-2022 jmcneill

32-bit build fix


# 1.18 15-Jan-2022 jmcneill

acpi: sdhc: Read caps2 even if sdhci-caps{,-mask} doesn't touch the bits

SDHC_FLAG_HOSTCAPS means that the driver has to supply both caps and caps2
values.


# 1.17 15-Jan-2022 jmcneill

acpi: sdhc: Add support for RK356x eMMC controller.

RK356x has a DesignWare eMMC controller that is somewhat SDHCI compliant,
with one major problem -- the clock divisor doesn't actually work. To
change the clock card on Rockchip SoCs, the clock frequency needs to be
adjusted in the Clock & Reset Unit (CRU) directly.

The RK356x UEFI implementation introduces a DSM that allows drivers to
request firmware assistance in setting the card clock rate, for instances
like this where the divisor is broken.

From the UEFI README:

Function 1: Set Card Clock

The _DSM control method parameters for the Set Card Clock function are
as follows:

Arguments

* Arg0: UUID = 434addb0-8ff3-49d5-a724-95844b79ad1f
* Arg1: Revision = 0
* Arg2: Function Index = 1
* Arg3: Target card clock rate in Hz.

Return

The actual card clock rate in Hz. Will be less than or equal to the
target clock rate. Returns 0 if the target clock rate could not be set.


# 1.16 11-Jan-2022 jmcneill

acpi: sdhc: Support sdhci-caps and sdhci-caps-mask properties.


# 1.15 28-Dec-2021 jmcneill

acpi: sdhc: Ignore clkbase register if clock-frequency property is present


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.14 01-Feb-2020 tnn

fix build


# 1.13 01-Feb-2020 christos

use designated initializers


# 1.12 01-Feb-2020 jmcneill

appease -Werror=missing-field-initializers


# 1.11 01-Feb-2020 jmcneill

Add NXP/Freescale ESDHC specific support


# 1.10 01-Feb-2020 jmcneill

Use acpi_match_hid to match both _HID and _CID


Revision tags: ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.9 29-Dec-2019 jmcneill

branches: 1.9.2;
Read clock frequency from device properties


Revision tags: phil-wifi-20191119
# 1.8 15-Oct-2019 chs

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

branches: 1.5.2;
Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


# 1.20 06-Feb-2022 jmcneill

sdhc: Retire SDHC_FLAG_USE_ADMA2 flag.

ADMA2 support in sdhc is mature now, so no need for it to be opt-in.


# 1.19 15-Jan-2022 jmcneill

32-bit build fix


# 1.18 15-Jan-2022 jmcneill

acpi: sdhc: Read caps2 even if sdhci-caps{,-mask} doesn't touch the bits

SDHC_FLAG_HOSTCAPS means that the driver has to supply both caps and caps2
values.


# 1.17 15-Jan-2022 jmcneill

acpi: sdhc: Add support for RK356x eMMC controller.

RK356x has a DesignWare eMMC controller that is somewhat SDHCI compliant,
with one major problem -- the clock divisor doesn't actually work. To
change the clock card on Rockchip SoCs, the clock frequency needs to be
adjusted in the Clock & Reset Unit (CRU) directly.

The RK356x UEFI implementation introduces a DSM that allows drivers to
request firmware assistance in setting the card clock rate, for instances
like this where the divisor is broken.

From the UEFI README:

Function 1: Set Card Clock

The _DSM control method parameters for the Set Card Clock function are
as follows:

Arguments

* Arg0: UUID = 434addb0-8ff3-49d5-a724-95844b79ad1f
* Arg1: Revision = 0
* Arg2: Function Index = 1
* Arg3: Target card clock rate in Hz.

Return

The actual card clock rate in Hz. Will be less than or equal to the
target clock rate. Returns 0 if the target clock rate could not be set.


# 1.16 11-Jan-2022 jmcneill

acpi: sdhc: Support sdhci-caps and sdhci-caps-mask properties.


# 1.15 28-Dec-2021 jmcneill

acpi: sdhc: Ignore clkbase register if clock-frequency property is present


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.14 01-Feb-2020 tnn

fix build


# 1.13 01-Feb-2020 christos

use designated initializers


# 1.12 01-Feb-2020 jmcneill

appease -Werror=missing-field-initializers


# 1.11 01-Feb-2020 jmcneill

Add NXP/Freescale ESDHC specific support


# 1.10 01-Feb-2020 jmcneill

Use acpi_match_hid to match both _HID and _CID


Revision tags: ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.9 29-Dec-2019 jmcneill

branches: 1.9.2;
Read clock frequency from device properties


Revision tags: phil-wifi-20191119
# 1.8 15-Oct-2019 chs

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

branches: 1.5.2;
Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


# 1.19 15-Jan-2022 jmcneill

32-bit build fix


# 1.18 15-Jan-2022 jmcneill

acpi: sdhc: Read caps2 even if sdhci-caps{,-mask} doesn't touch the bits

SDHC_FLAG_HOSTCAPS means that the driver has to supply both caps and caps2
values.


# 1.17 15-Jan-2022 jmcneill

acpi: sdhc: Add support for RK356x eMMC controller.

RK356x has a DesignWare eMMC controller that is somewhat SDHCI compliant,
with one major problem -- the clock divisor doesn't actually work. To
change the clock card on Rockchip SoCs, the clock frequency needs to be
adjusted in the Clock & Reset Unit (CRU) directly.

The RK356x UEFI implementation introduces a DSM that allows drivers to
request firmware assistance in setting the card clock rate, for instances
like this where the divisor is broken.

From the UEFI README:

Function 1: Set Card Clock

The _DSM control method parameters for the Set Card Clock function are
as follows:

Arguments

* Arg0: UUID = 434addb0-8ff3-49d5-a724-95844b79ad1f
* Arg1: Revision = 0
* Arg2: Function Index = 1
* Arg3: Target card clock rate in Hz.

Return

The actual card clock rate in Hz. Will be less than or equal to the
target clock rate. Returns 0 if the target clock rate could not be set.


# 1.16 11-Jan-2022 jmcneill

acpi: sdhc: Support sdhci-caps and sdhci-caps-mask properties.


# 1.15 28-Dec-2021 jmcneill

acpi: sdhc: Ignore clkbase register if clock-frequency property is present


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.14 01-Feb-2020 tnn

fix build


# 1.13 01-Feb-2020 christos

use designated initializers


# 1.12 01-Feb-2020 jmcneill

appease -Werror=missing-field-initializers


# 1.11 01-Feb-2020 jmcneill

Add NXP/Freescale ESDHC specific support


# 1.10 01-Feb-2020 jmcneill

Use acpi_match_hid to match both _HID and _CID


Revision tags: ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.9 29-Dec-2019 jmcneill

branches: 1.9.2;
Read clock frequency from device properties


Revision tags: phil-wifi-20191119
# 1.8 15-Oct-2019 chs

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

branches: 1.5.2;
Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


# 1.16 11-Jan-2022 jmcneill

acpi: sdhc: Support sdhci-caps and sdhci-caps-mask properties.


# 1.15 28-Dec-2021 jmcneill

acpi: sdhc: Ignore clkbase register if clock-frequency property is present


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.14 01-Feb-2020 tnn

fix build


# 1.13 01-Feb-2020 christos

use designated initializers


# 1.12 01-Feb-2020 jmcneill

appease -Werror=missing-field-initializers


# 1.11 01-Feb-2020 jmcneill

Add NXP/Freescale ESDHC specific support


# 1.10 01-Feb-2020 jmcneill

Use acpi_match_hid to match both _HID and _CID


Revision tags: ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.9 29-Dec-2019 jmcneill

branches: 1.9.2;
Read clock frequency from device properties


Revision tags: phil-wifi-20191119
# 1.8 15-Oct-2019 chs

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

branches: 1.5.2;
Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


# 1.15 28-Dec-2021 jmcneill

acpi: sdhc: Ignore clkbase register if clock-frequency property is present


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.14 01-Feb-2020 tnn

fix build


# 1.13 01-Feb-2020 christos

use designated initializers


# 1.12 01-Feb-2020 jmcneill

appease -Werror=missing-field-initializers


# 1.11 01-Feb-2020 jmcneill

Add NXP/Freescale ESDHC specific support


# 1.10 01-Feb-2020 jmcneill

Use acpi_match_hid to match both _HID and _CID


Revision tags: ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.9 29-Dec-2019 jmcneill

branches: 1.9.2;
Read clock frequency from device properties


Revision tags: phil-wifi-20191119
# 1.8 15-Oct-2019 chs

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

branches: 1.5.2;
Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


# 1.14 01-Feb-2020 tnn

fix build


# 1.13 01-Feb-2020 christos

use designated initializers


# 1.12 01-Feb-2020 jmcneill

appease -Werror=missing-field-initializers


# 1.11 01-Feb-2020 jmcneill

Add NXP/Freescale ESDHC specific support


# 1.10 01-Feb-2020 jmcneill

Use acpi_match_hid to match both _HID and _CID


Revision tags: ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.9 29-Dec-2019 jmcneill

Read clock frequency from device properties


Revision tags: phil-wifi-20191119
# 1.8 15-Oct-2019 chs

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.


Revision tags: netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

branches: 1.5.2;
Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


# 1.9 29-Dec-2019 jmcneill

Read clock frequency from device properties


Revision tags: phil-wifi-20191119
# 1.8 15-Oct-2019 chs

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.


Revision tags: netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

branches: 1.5.2;
Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


# 1.8 15-Oct-2019 chs

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.


Revision tags: netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

branches: 1.5.2;
Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.7 17-Nov-2018 kre

Attempt to appease gcc and unbreak i386 build. Should be NFC.


# 1.6 16-Nov-2018 jmcneill

Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.5 08-May-2018 mlelstv

Bail if we have a zero-length memory resource.


Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 17-Feb-2017 nonaka

branches: 1.4.12; 1.4.14;
sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

branches: 1.3.2;
Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2; 1.2.4;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


# 1.4 17-Feb-2017 nonaka

sdhc(4): hardware reset support for Intel eMMC controller


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support


Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.3 11-Aug-2016 nonaka

Enable DMA transfer.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.2 22-Jun-2016 nonaka

branches: 1.2.2;
remove unused variable.


# 1.1 21-Jun-2016 nonaka

Add sdhc(4) at acpi support