Skip to contentSkip to conversation

zalon

parisc-linux Gyula Matics 2 participants 2 messages Feb 29, 2000

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm working on the ncr7xx driver and plan to add support for the Bluefish GSC SCSI interface. I looked at the Mach kernel and found that before accessing the c720 it is initializing something called zalon.

What is that thing? Should one care about it or just blindly do the same as the Mach kernel does?

Gyula

#1 lore raw
Quoted 8 lines · Gyula Matics

Hi all,

I'm working on the ncr7xx driver and plan to add support for the Bluefish GSC SCSI interface. I looked at the Mach kernel and found that before accessing the c720 it is initializing something called zalon.

What is that thing?

It's the chip that allows 53c720 signals to mean something to PA-RISC I/O. The things I'm aware Zalon chip provides:
o IODC bytes: identify the I/O board as zalon (ie GSC SCSI)
o EIM register: used to generate PA interrupt transactions based on NCR c720 "pulling" it's IRQ line.
o HPA: hard physical address decoding so firmware can assign an MMIO address.

BTW, Bluefish is the EISA form factor of the GSC SCSI card. I'm pretty sure other form factors exist including for K-class and "built-in".

Quoted 1 line

Should one care about it

Yes.

Quoted 1 line

or just blindly do the same as the Mach kernel does?

Probably not exactly. You want to look at how drivers/gsc/dino.c uses gsc_alloc_irq() and do something very similar in order to program the EIM register. AFAIK, Once the Zalon EIM register is programmed, the c720 chip can be pretty much treated like it's on a PCI bus *using MMIO*.

The MMIO base address is handed to the parisc-linux device driver in the struct hp_device *. Again, see dino.c for details.

hope this helps,
grant

Grant Grundler
Unix Development Lab
+1.408.447.7253