DragonFly kernel List (threaded) for 2004-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cannot compile kernel.. PCIR_HEADERTYPE
> since at least some days, i cannot build a kernel w/o attached (trivial)
> patch
well, patch w/o patch is great, aint it.
~ibotty
Index: sys/bus/pci/pci.c
===================================================================
RCS file: /home/src/dcvs/src/sys/bus/pci/pci.c,v
retrieving revision 1.11
diff -u -3 -p -r1.11 pci.c
--- sys/bus/pci/pci.c 15 Jan 2004 20:35:06 -0000 1.11
+++ sys/bus/pci/pci.c 24 Feb 2004 13:29:24 -0000
@@ -352,7 +352,7 @@ pci_readcfg(pcicfgregs *probe)
cfg->subclass = pci_cfgread(cfg, PCIR_SUBCLASS, 1);
cfg->progif = pci_cfgread(cfg, PCIR_PROGIF, 1);
cfg->revid = pci_cfgread(cfg, PCIR_REVID, 1);
- cfg->hdrtype = pci_cfgread(cfg, PCIR_HEADERTYPE, 1);
+ cfg->hdrtype = pci_cfgread(cfg, PCIR_HDRTYPE, 1);
cfg->cachelnsz = pci_cfgread(cfg, PCIR_CACHELNSZ, 1);
cfg->lattimer = pci_cfgread(cfg, PCIR_LATTIMER, 1);
cfg->intpin = pci_cfgread(cfg, PCIR_INTPIN, 1);
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]