Matt Hamilton wrote... > Dear All, > > I am trying to mmap a raw device (/dev/rda0) yet mmap() keeps returning > EINVAL. From what I have read on the list archives, mmap() should be able > to map a character device (just not a block device), am I missing > something here? > > I have tried this on 3.1-STABLE and 4.0-CURRENT, but no luck.
You'll only be able to mmap a device node if it supports mmaping. The da(4) driver, like the sd(4) driver before it, doesn't support mmapping. Ken -- Kenneth Merry k...@plutotech.com To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message