aboutsummaryrefslogtreecommitdiff
path: root/audio/oss/files/patch-os_cmd-FreeBSD-ossdetect-ossdetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/oss/files/patch-os_cmd-FreeBSD-ossdetect-ossdetect.c')
-rw-r--r--audio/oss/files/patch-os_cmd-FreeBSD-ossdetect-ossdetect.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/audio/oss/files/patch-os_cmd-FreeBSD-ossdetect-ossdetect.c b/audio/oss/files/patch-os_cmd-FreeBSD-ossdetect-ossdetect.c
deleted file mode 100644
index 75c1c2c3be90..000000000000
--- a/audio/oss/files/patch-os_cmd-FreeBSD-ossdetect-ossdetect.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- os_cmd/FreeBSD/ossdetect/ossdetect.c.orig 2011-01-05 16:06:39.000000000 -0500
-+++ os_cmd/FreeBSD/ossdetect/ossdetect.c 2011-06-21 17:49:37.000000000 -0400
-@@ -376,17 +376,20 @@ pci_detect (void)
- char name[32];
-
- if (verbose > 2)
-- printf ("%s%d@pci%d:%d:%d:\tclass=0x%06x card=0x%08x "
-- "chip=0x%08x rev=0x%02x hdr=0x%02x\n",
-- (p->pd_name && *p->pd_name) ? p->pd_name :
-- "none",
-- (p->pd_name && *p->pd_name) ? (int) p->pd_unit :
-- p->pc_sel.pc_bus, p->pc_sel.pc_dev,
-- p->pc_sel.pc_func, (p->pc_class << 16) |
-- (p->pc_subclass << 8) | p->pc_progif,
-- (p->pc_subdevice << 16) | p->pc_subvendor,
-- (p->pc_device << 16) | p->pc_vendor,
-- p->pc_revid, p->pc_hdr);
-+ {
-+ if (p->pd_name && *p->pd_name)
-+ sprintf(name, "%s%d", p->pd_name, (int) p->pd_unit);
-+ else
-+ strcpy(name, "none");
-+ printf ("%s@pci%d:%d:%d:\tclass=0x%06x card=0x%08x "
-+ "chip=0x%08x rev=0x%02x hdr=0x%02x\n", name,
-+ p->pc_sel.pc_bus, p->pc_sel.pc_dev, p->pc_sel.pc_func,
-+ (p->pc_class << 16) |
-+ (p->pc_subclass << 8) | p->pc_progif,
-+ (p->pc_subdevice << 16) | p->pc_subvendor,
-+ (p->pc_device << 16) | p->pc_vendor,
-+ p->pc_revid, p->pc_hdr);
-+ }
-
- sprintf (name, "pcs%x,%x", p->pc_subvendor, p->pc_subdevice);
- if (add_drv (name, PCI_PASS))