Re: Resources assignment by John
John
Tue Dec 16 08:39:38 CST 2003
I was wrong, PCI boards can have ports.
>-----Original Message-----
>
>>>1. My first doubt is: If I only write in my start
device
>>>routine that I have I/O port resources, could be a
>>>problem? I mean by just ignoring the other resorces,
>could
>>>a problem arise?
>>>
>>
>>Your interrupt resource is problematic. If your device
>ever generates
>>an interrupt, and if it is a PCI style device (level
>interrupts) your
>>system may be toast. You should always implement an ISR
>for your
>>interrupt resources.
>
>For PCI boards, I haven't had any problems ignoring
>interrupt capabilities -- JUST DON'T GENERATE AN
>INTERRUPT :-)
>For ISA boards, I've always reserved the interrupt in
>order to avoid hardware conflicts.
>
>For PCI boards, there are no ports (that I know of) just
>memory mapped I/O.
>For ISA boards, I've always reserved the ports in order
to
>avoid hardware conflicts.
>
>For PCI boards, you can refrain from mapping some of your
>I/O windows. You can also map them multiple times.
>For ISA boards, I've always reserved the high memory
>requirements for the board to avoid hardware conflicts.
>
>For PCI boards, DMA is bus-master based and does not
>require resources.
>For ISA board, the DMA is based in the chipset and
>requires a resource. You shouldn't have any trouble AS
>LONG AS YOU DON'T TURN ON THE ISA DMA. :-)
>
>.
>