[comp.unix.wizards] problems with probe routine in driver

paul@phoenix.PRINCETON.EDU (Paul Lansky) (07/12/87)

I'm having trouble getting a probe routine to correctly access
the csr of a board.  I've done it before with other boards
(this is a DRQ3B, MicroVaxII, Ultrix 1.1), and can't see what
I've done wrong.  The probe routine is entered correctly but 
as soon as it attempts to access the registers I get a machine
check.  The base csr is 0161040.  I'm able to look at the 
registers in console mode ( e/w/p 20000220 is the translation
to physical, in hex) with no trouble, everything seems to be
as it should be.  I printed out the virtual address in octal,
which came to 20034601040, but don't know how to translate
this properly (shouldnt it be short?).  

I would appreciate any suggestions on how to verify the addresses
of the csr from the probe routine.  The numbers in ioconf.c look right.

Please reply to   .......princeton!winnie!paul
thanks
Paul Lansky