diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2003-01-14 20:52:11 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2003-01-14 20:52:11 +0000 |
commit | d933aeffb9168a7bc2d2b4e19c6f7a30b568fe46 (patch) | |
tree | e5c538af1bc92e4650acde43e5335e40df41d2c5 /sys | |
parent | a3c0a4d8aca4510d261be169ad80ffc9f559f6cf (diff) |
Add a define for easy access to sc_wdcdev.sc_dev.dv_xname
Diffstat (limited to 'sys')
-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 a00bb04f27a..73b38ea3faa 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.103 2003/01/13 23:29:27 grange Exp $ */ +/* $OpenBSD: pciide.c,v 1.104 2003/01/14 20:52:10 grange Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -155,6 +155,7 @@ pciide_pci_write(pc, pa, reg, val) struct pciide_softc { struct wdc_softc sc_wdcdev; /* common wdc definitions */ +#define sc_xname sc_wdcdev.sc_dev.dv_xname pci_chipset_tag_t sc_pc; /* PCI registers info */ pcitag_t sc_tag; void *sc_pci_ih; /* PCI interrupt handle */ |