#361 closed defect (fixed)

strange quirk about libchip/networking/dec21140 mvme23xx BSP

Reported by: strauman Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: unspecified Version: unknown
Severity: major Keywords:
Cc: bugs@… Blocked By:


The dec21140 (PPC branch) initialization reads PCI_INTERRUPT_LINE from PCI config space but fails to add BSP_PCI_LOWEST_OFFSET to the returned value (BUG).

For an obscure reason, the driver works nonetheless on motorola_powerc BSPs (on-board 21140):
1) MVME23xx boards (for backwards compatibility reasons)

route the DEC21140 interrupt not only to the OpenPIC
(OpenPIC interrupt 2) but also to the ISA PIC (irq 10)

2) MVME23xx firmware sets the PCI_INTERRUPT_LINE register

to the correct ISA interrupt number (10)

--> on-board chip + driver actually use the ISA IRQ!

NOTE: the DEC21140 driver most likely does NOT use the correct interrupt when using a dec21140 PMC ethernet card.


Change History (2)

comment:1 Changed on 04/10/03 at 16:20:43 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: fix is in PR377 so this is a duplicate.

comment:2 Changed on 10/10/17 at 06:35:44 by Sebastian Huber

Component: miscunspecified
Note: See TracTickets for help on using tickets.