|
@@ -337,8 +337,6 @@ ahd_pci_config(struct ahd_softc *ahd, const struct ahd_pci_identity *entry)
|
|
* 64bit bus (PCI64BIT set in devconfig).
|
|
* 64bit bus (PCI64BIT set in devconfig).
|
|
*/
|
|
*/
|
|
if ((ahd->flags & (AHD_39BIT_ADDRESSING|AHD_64BIT_ADDRESSING)) != 0) {
|
|
if ((ahd->flags & (AHD_39BIT_ADDRESSING|AHD_64BIT_ADDRESSING)) != 0) {
|
|
- uint32_t devconfig;
|
|
|
|
-
|
|
|
|
if (bootverbose)
|
|
if (bootverbose)
|
|
printf("%s: Enabling 39Bit Addressing\n",
|
|
printf("%s: Enabling 39Bit Addressing\n",
|
|
ahd_name(ahd));
|
|
ahd_name(ahd));
|
|
@@ -483,8 +481,6 @@ ahd_pci_test_register_access(struct ahd_softc *ahd)
|
|
goto fail;
|
|
goto fail;
|
|
|
|
|
|
if ((ahd_inb(ahd, INTSTAT) & PCIINT) != 0) {
|
|
if ((ahd_inb(ahd, INTSTAT) & PCIINT) != 0) {
|
|
- u_int targpcistat;
|
|
|
|
-
|
|
|
|
ahd_set_modes(ahd, AHD_MODE_CFG, AHD_MODE_CFG);
|
|
ahd_set_modes(ahd, AHD_MODE_CFG, AHD_MODE_CFG);
|
|
targpcistat = ahd_inb(ahd, TARGPCISTAT);
|
|
targpcistat = ahd_inb(ahd, TARGPCISTAT);
|
|
if ((targpcistat & STA) != 0)
|
|
if ((targpcistat & STA) != 0)
|