diff options
author | imp <imp@FreeBSD.org> | 2001-07-31 15:42:44 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-07-31 15:42:44 +0000 |
commit | 78d96e6b4da682605cbae3b774c618bf9c2964c4 (patch) | |
tree | 2f7bc146c52f6b5c0909b52c6ab8ad998722df34 /sys/pccard | |
parent | 30c6547f476a8fb6ffb5b56b28a2e8fae4f3547a (diff) | |
download | FreeBSD-src-78d96e6b4da682605cbae3b774c618bf9c2964c4.zip FreeBSD-src-78d96e6b4da682605cbae3b774c618bf9c2964c4.tar.gz |
Fix typo where I assigned the bus tag and not the bus handled. It
appears that this may be unused, but I'll keep it for the moment.
Noticed by: Shizuka Kudo <shizukakudo_99@yahoo.com>
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pcic_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index 6cb7c5a..ad033a3 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -567,7 +567,7 @@ pcic_pci_attach(device_t dev) sp->putb = pcic_pci_putb2; sp->offset = CB_EXCA_OFFSET; sc->bst = sp->bst = rman_get_bustag(sc->memres); - sc->bst = sp->bsh = rman_get_bushandle(sc->memres); + sc->bsh = sp->bsh = rman_get_bushandle(sc->memres); itm = pcic_pci_lookup(device_id, &pcic_pci_devs[0]); if (itm != NULL) { sp->controller = itm->type; |