svn commit: r278533 - stable/10/sys/dev/sdhci
Marius Strobl
marius at FreeBSD.org
Tue Feb 10 21:40:32 UTC 2015
Author: marius
Date: Tue Feb 10 21:40:31 2015
New Revision: 278533
URL: https://svnweb.freebsd.org/changeset/base/278533
Log:
MFC: r273050
class, subclass and progif were never used, so don't bother setting
them.
Modified:
stable/10/sys/dev/sdhci/sdhci_pci.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/sdhci/sdhci_pci.c
==============================================================================
--- stable/10/sys/dev/sdhci/sdhci_pci.c Tue Feb 10 21:33:32 2015 (r278532)
+++ stable/10/sys/dev/sdhci/sdhci_pci.c Tue Feb 10 21:40:31 2015 (r278533)
@@ -261,16 +261,12 @@ sdhci_pci_attach(device_t dev)
struct sdhci_pci_softc *sc = device_get_softc(dev);
uint32_t model;
uint16_t subvendor;
- uint8_t class, subclass, progif;
int bar, err, rid, slots, i;
sc->dev = dev;
model = (uint32_t)pci_get_device(dev) << 16;
model |= (uint32_t)pci_get_vendor(dev) & 0x0000ffff;
subvendor = pci_get_subvendor(dev);
- class = pci_get_class(dev);
- subclass = pci_get_subclass(dev);
- progif = pci_get_progif(dev);
/* Apply chip specific quirks. */
for (i = 0; sdhci_devices[i].model != 0; i++) {
if (sdhci_devices[i].model == model &&
More information about the svn-src-all
mailing list