Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pci_attach_hook() tweaks



On 01-Dec-2007 Frank Wille wrote:
> Currently I don't know how. Maybe I find out.

Relevant section of the vt8231 chipset docs pasted below.

This register should be on function 0, ie the pcib.  This should be very
similar to the raven hack in pcib.

Offset 4A - IDE Interrupt Routing .................................. RW
   7    Wait for PGNT Before Grant to ISA Master /
        DMA
           0 Disable ...................................................default
           1 Enable
   6    Bus Select for Access to I/O Devices Below 100h
           0 Access ports 00-FFh via XD bus............default
           1 Access ports 00-FFh via SD bus (applies to
              external devices only; internal devices such as
              the mouse controller are not effected)
  5-4 Reserved (do not program) ..................... default = 0
  3-2 IDE Second Channel IRQ Routing
          00 IRQ14
          01 IRQ15.....................................................default
          10 IRQ10
          11 IRQ11
  1-0 IDE Primary Channel IRQ Routing
          00 IRQ14.....................................................default
          01 IRQ15
          10 IRQ10
          11 IRQ11



---
Tim Rightnour <root%garbled.net@localhost>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/



Home | Main Index | Thread Index | Old Index