$NetBSD: patch-ad,v 1.1 2009/07/20 05:58:44 hasso Exp $ --- lib/fbsd-device.c.orig 2009-07-20 08:16:03 +0300 +++ lib/fbsd-device.c 2009-07-20 08:17:55 +0300 @@ -77,7 +77,7 @@ fbsd_read(struct pci_dev *d, int pos, by if (pos >= 256) return 0; -#if __FreeBSD_version >= 700053 +#if __FreeBSD_version >= 700053 || __DragonFly_version >= 200203 pi.pi_sel.pc_domain = d->domain; #endif pi.pi_sel.pc_bus = d->bus; @@ -120,7 +120,7 @@ fbsd_write(struct pci_dev *d, int pos, b if (pos >= 256) return 0; -#if __FreeBSD_version >= 700053 +#if __FreeBSD_version >= 700053 || __DragonFly_version >= 200203 pi.pi_sel.pc_domain = d->domain; #endif pi.pi_sel.pc_bus = d->bus;