Deleted Added
full compact
2c2,4
< * Copyright (c) 2000-01 Intel Corporation
---
> * Copyright (c) 2000-03 ICP vortex GmbH
> * Copyright (c) 2002-03 Intel Corporation
> * Copyright (c) 2003 Adaptec Inc.
33c35
< * Written by: Achim Leubner <achim.leubner@intel.com>
---
> * Written by: Achim Leubner <achim_leubner@adaptec.com>
36c38
< * TODO:
---
> * $Id: iir_ctrl.c 1.3 2003/08/26 12:31:15 achim Exp $"
39d40
< #ident "$Id: iir_ctrl.c 1.2 2001/07/18 11:17:22 achim Exp $"
41c42
< __FBSDID("$FreeBSD: head/sys/dev/iir/iir_ctrl.c 119418 2003-08-24 17:55:58Z obrien $");
---
> __FBSDID("$FreeBSD: head/sys/dev/iir/iir_ctrl.c 120477 2003-09-26 15:36:47Z scottl $");
277,278c278,292
< p->oem_id = 0x8000;
< p->type = 0xfd;
---
> /* only RP controllers */
> p->ext_type = 0x6000 | gdt->sc_device;
> if (gdt->sc_vendor == INTEL_VENDOR_ID) {
> p->oem_id = OEM_ID_INTEL;
> p->type = 0xfd;
> /* new -> subdevice into ext_type */
> if (gdt->sc_device >= 0x600)
> p->ext_type = 0x6000 | gdt->sc_subdevice;
> } else {
> p->oem_id = OEM_ID_ICP;
> p->type = 0xfe;
> /* new -> subdevice into ext_type */
> if (gdt->sc_device >= 0x300)
> p->ext_type = 0x6000 | gdt->sc_subdevice;
> }
280d293
< p->ext_type = 0x6000 | gdt->sc_subdevice;