diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-04 15:11:00 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-04 15:11:00 +0000 |
commit | d55c0619f9533edabdcf46aa20083a37a7a5275b (patch) | |
tree | 4a010a27a6f4a0ae2da2d50f7027b1be43c45b89 /sys/dev/pci | |
parent | b04de864e2b4718e1c8674900d26d1634b0a03de (diff) |
Fix my stupid bug with missing sata_setup_channel() call.
Now VIA VT8237 SATA really works.
Problem report, testing and ok drahn@.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pciide.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 6c39d238137..a3c36fcbb75 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.164 2004/05/03 15:18:21 drahn Exp $ */ +/* $OpenBSD: pciide.c,v 1.165 2004/05/04 15:10:59 grange Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -2619,6 +2619,7 @@ apollo_sata_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa) continue; pciide_mapchan(pa, cp, interface, &cmdsize, &ctlsize, pciide_pci_intr); + sata_setup_channel(&cp->wdc_channel); } } |