diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2005-06-09 12:31:07 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2005-06-09 12:31:07 +0000 |
| commit | a3ebeaa87b4f31dbb05d99be038ef77eed2aad3a (patch) | |
| tree | 0b011c726f4f437a17d5893e0719dd46ad49c4ac /sys/dev/ata | |
| parent | f60e923b2396c0524f5fcc4e48f7fa64be396736 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c index da02e3ac1b9ed..0222ef518e574 100644 --- a/sys/dev/ata/ata-pci.c +++ b/sys/dev/ata/ata-pci.c @@ -535,7 +535,7 @@ ata_pcichannel_attach(device_t dev) struct ata_channel *ch = device_get_softc(dev); int error; - if (ctlr->r_res1) + if (ctlr->dmainit) ctlr->dmainit(dev); if (ch->dma) ch->dma->alloc(dev); |
