|
|
| version 1.11, 2004/02/18 04:12:00 | version 1.12, 2004/03/02 20:59:46 |
|---|---|
| Line 729 ata_pci_alloc_resource(device_t dev, dev | Line 729 ata_pci_alloc_resource(device_t dev, dev |
| start, end, count, flags); | start, end, count, flags); |
| if (res) { | if (res) { |
| start = rman_get_start(res) + 2; | start = rman_get_start(res) + 2; |
| end = rman_get_start(res) + ATA_ALTIOSIZE - 1; | end = start + ATA_ALTIOSIZE - 1; |
| count = ATA_ALTIOSIZE; | count = ATA_ALTIOSIZE; |
| BUS_RELEASE_RESOURCE(device_get_parent(dev), dev, | BUS_RELEASE_RESOURCE(device_get_parent(dev), dev, |
| SYS_RES_IOPORT, myrid, res); | SYS_RES_IOPORT, myrid, res); |