EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: dvx 2502
From: [email protected] (Jeff Hill)
Date: Tue, 28 Mar 95 13:55:51 MST

> 
> While thumbing through the driver, I noticed
> the register map structure pads out to 128 bytes, while the board base
> addresses are selectable at 64 byte boundaries. Is there a particular
> reason why the driver was set up this way? We can save some short IO
> space by changing it.


Am I misssing something? It looks like it pads to a 64 byte boundary 
to me.

struct dvx_2502
{
        unsigned short dev_id;          /* device id code (CFF5) */
        unsigned short dev_type;        /* type code (B100) */
        unsigned short csr;             /* control and status register */
        unsigned short seq_offst;       /* sequence RAM offset register */
        unsigned short mem_attr;        /* memory attribute register */
        unsigned short samp_rate;       /* sample rate register */
        unsigned short dma_point;       /* DMA pointer register */
        unsigned short dma_data;        /* DMA data register */
        unsigned short thresh;          /* threshold register */
        unsigned short fifo;            /* input fifo */
        unsigned short end_pad[54];     /* pad to 64 byte boundary */
};

Jeff



Navigate by Date:
Prev: DVX2502 addressing Claude Saunders
Next: dvx 2502 Jeff Hill
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: DVX2502 addressing Claude Saunders
Next: dvx 2502 Jeff Hill
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·