Plug and Play Resource Allocation

-- End Ad Box --->Play (PnP) to solve this problem. One of the main
Your computer has many devices connected to it.structures supporting PnP is the Peripheral
Your key board is a device. Your mouse is aComponent Interconnect (PCI) bus. Along with a
device. Your modem is a device. Even a port, likePCI bus, the computers BIOS, operating system,
a USB port, is a device. You can add a device toand hardware devices must be PnP compliant.
your computer by installing it into an expansionOne of the key features of PnP is that when
connector on the the motherboard of theinstalling a PCI card, you do not need to use
computer. In order to operate, resources need tojumpers of DIP switches to set the IRQ or I/O
be allocated to the device.address for the card, the PCI bus controller does
One of the most important resources a devicethis for you.
needs is an Interrupt Request (IRQ) line. An IRQThe Windows 2000/XP operating system
signals the processor that the device needscomponent responsible for PnP is the Advanced
attention. For example, each time you press aConfiguration and Power Interface (ACPI). ACPI
key on your keyboard, an IRQ is sent to let theallows devices to be controlled by the operating
processor know that the keyboard needssystem to perform power management. ACPI
attention. A device also needs to be allocated amay put a device in a power saving state such as
set of memory addresses where commands canStandby, Suspend or Off. ACPI also allows
be sent to it and it can send responses.dynamic handling of events like the addition or
Many devices need to be allocated an area ofremoval of a USB device.
memory to store data and/or a Direct MemoryDuring the boot process, the BIOS builds a table
Access (DMA) channel. A DMA channel allows ato record which IRQs have been used by legacy
device to create a data stream directly betweenISA devices and then assigns the unused ones to
it and the computers memory without passingthe PCI bus controller. The PCI bus controller,
through the processor.which is part of the motherboard chip set,
One of the most important structures in amanages the PCI bus and the expansion slots.
computer is the system bus located on theEach PCI device communicates its resource
motherbord. The processor, chipset, memory, andrequirements to ACPI. Based on the resource
expansion slot devices communicate over the bus.requests that each device makes, ACPI assigns
Early PCs used a bus called Industry Standardresources such as IRQs, I/O addresses, and
Architecture (ISA). When you installed anmemory locations, and DMA channels. ACPI can
expansion card into the ISA bus, you had to setreconfigure resource assignments when needed,
IRQs and other resources with jumpers and/orfor example, when a device is added to the
DIP switches on the card. ISA devices cannotsystem.
share resources, each ISA device must have itsThe PCI bus overcomes the limitation in available
own IRQ.IRQ's with a feature called "PCI steering". PCI
- You can have more than one ISA devicesteering makes it possible for several devices to
configured for the same IRQ, as long as only oneuse the same IRQ. PCI steering allocates an IRQ
of the device drivers is loaded at any one time;called the "IRQ Holder" for PCI steering. The PCI
otherwise, you'll get an IRQ conflict.controller steers that IRQ to its own interrupt
Since a computer has only a limited amount ofsystems on the PCI bus. These interrupts are
resources, the number of devices that acalled A, B, C, D, and so on to avoid confusion
computer could support is limited. One of thewith the numbered system IRQs. One interrupt is
most limited resources is IRQ lines. A PC has onlyassigned to each PCI expansion slot.
16 IRQs. Common devices such as the keyboard,To see which IRQ has been assigned to the IRQ
mouse, floppy drive, and hard drive use aHolder for PCI steering, open the Control Panel
standard set of resources."System" utility. In the "System Properties" dialog
Standard IRQ aassignmentsbox, select the "Hardware" tab and click on the
IRQ DEVICE"Device Manager..." button. In Device Manager's
0 System Timer"View" menu select "Resources by type", then
1 Keyboardopen the "Interrupt request IRQ" branch.pcirq.bmp
2 IRQ Controller 2- Note that Windows 2000 uses IRQ 9 for PCI
3 COM2Steering, so never set a device to IRQ 9.
4 COM1PnP resource allocation removes the need to use
5 LPT2jumpers of DIP switches to set the IRQ and
6 Floppy Driveother resources for devices. But PnP involves a
7 LPT1complex interaction between the computers
8 Real-Time ClockBIOS, chipset, PCI bus, operating system, and PnP
9 ACPIdevices.
10 unallocatedCopyright(C)2004 Bucaro TecHelp.
11 IRQ HolderPermission is granted for the below article to
12 Mouseforward, reprint, distribute, use for ezine,
13 Math Coprocessornewsletter, website, offer as free bonus or part
14 Primary IDEof a product for sale as long as no changes are
15 Secondary IDEmade and the byline, copyright, and the resource
In 1993, Microsoft and Intel developed Plug andbox below is included.