Marcel Moolenaar 409a390c33 Use io(4) for I/O port access on ia64, rather than through sysarch(2).
I/O port access is implemented on Itanium by reading and writing to a
special region in memory. To hide details and avoid misaligned memory
accesses, a process did I/O port reads and writes by making a MD system
call. There's one fatal problem with this approach: unprivileged access
was not being prevented. /dev/io serves that purpose on amd64/i386, so
employ it on ia64 as well. Use an ioctl for doing the actual I/O and
remove the sysarch(2) interface.

Backward compatibility is not being considered. The sysarch(2) approach
was added to support X11, but support for FreeBSD/ia64 was never fully
implemented in X11. Thus, nothing gets broken that didn't need more work
to begin with.

MFC after:	1 week
2010-01-11 18:10:13 +00:00
..
2009-11-16 21:47:12 +00:00
2009-05-13 22:31:25 +00:00
2009-09-14 21:33:00 +00:00
2009-11-11 20:29:40 +00:00
2010-01-03 23:28:32 +00:00
2010-01-03 23:26:29 +00:00
2009-11-25 13:31:17 +00:00
2009-12-16 12:25:27 +00:00
2010-01-08 20:40:28 +00:00
2009-04-14 11:23:09 +00:00
2010-01-08 15:57:56 +00:00
2010-01-03 23:31:58 +00:00
2010-01-01 22:47:53 +00:00
2009-06-14 00:15:26 +00:00
2010-01-03 23:31:58 +00:00
2009-09-06 10:27:45 +00:00
2009-05-25 22:50:11 +00:00
2009-08-23 08:04:40 +00:00
2010-01-06 05:58:07 +00:00
2010-01-11 00:18:40 +00:00
2009-12-25 00:23:47 +00:00
2010-01-03 23:29:49 +00:00