title: How does device mmap work in contrast to I/O address ports?
body: <p>I was wondering if Linux sees a difference between mmap to a peripheral devices memory in comparision to reading/writing to the device via I/O Ports. From what I've learned in my Assembly class, we pretty much looked at I/O port addressing in the same light as memory addressing. So I suppose I was wondering if I were to rw to  the I/O my port my device is connected to, is that the same thing mmaping to that devices memory?</p>
  
  <p>Thanks</p>