freebsd_amp_hwpstate/sys
Warner Losh 279f2101e7 Improve compatibility with other systems by changing the default
behavior slightly.

If machine/bus.h is included, but neither bus_memio.h nor bus_pio.h
are included, then behave as if both were included.

This won't change existing drivers, all of which include one or more
of bus_{p,mem}io.h, but will allow drivers from other systems to come
over with fewer changes.  I freely admit that this might not be
optimal for some drivers, but those drivers can be optimized for
FreeBSD after the initial bringup happens.

Without the change, there is a bug that preclude drivers from
compiling with strange warning/errors.

I've been running this here for a while now w/o ill effects.

Reviewed by: gibbs
Not objected to by: bde, arch@ list.
1999-07-03 20:14:08 +00:00
..
alpha Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
amd64 Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
boot Document the hw.physmem tunable. (There should be arch-specific tunable 1999-07-02 20:38:05 +00:00
cam A minor tweak to shut up gcc (on the Alpha) for two (false) warnings. 1999-07-03 16:29:32 +00:00
coda Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
compat sys/buf.h needs to have included sys/systm.h for spl prototypes. 1999-07-03 04:56:57 +00:00
compile
conf Delete the 'device-driver' suffix. It's been meaningless for a long time. 1999-07-03 19:19:34 +00:00
contrib No longer need to set B_ASYNC flag since BUF_KERNPROC now 1999-06-29 15:57:40 +00:00
ddb Quiet warnings on Alpha. (db_expr_t is a long on alpha, int on x86) 1999-07-01 19:42:56 +00:00
dev Well, don't try and probe 65535 luns- things just don't really work well 1999-07-03 01:44:05 +00:00
fs Make sure that stat(2) and friends always return a valid st_dev field. 1999-07-02 16:29:47 +00:00
geom Initialize and hold locks for ccd generated bufs.. 1999-06-27 09:28:43 +00:00
gnu Convert buffer locking from using the B_BUSY and B_WANTED flags to using 1999-06-26 02:47:16 +00:00
i4b devsw and cdevsw_add() changes for i4b. 1999-06-01 08:46:56 +00:00
i386 Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
isa Allocate the port resource when attaching the keyboard controller, 1999-06-29 17:35:09 +00:00
isofs/cd9660 Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
kern Fix warnings in last commit (dev_t is not an int, and not even int 1999-07-03 17:40:31 +00:00
libkern Add a fast version of bcmp which compares longwords at a time. 1999-06-19 16:30:28 +00:00
miscfs Make sure that stat(2) and friends always return a valid st_dev field. 1999-07-02 16:29:47 +00:00
modules Use the correct value for banksize so splash_pcx works in LFB modes. 1999-06-28 13:52:29 +00:00
msdosfs move <sys/systm.h> before <sys/buf.h> 1999-07-01 22:12:39 +00:00
net Fix a printf int/long problem on the Alpha 1999-07-01 22:14:51 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
netinet In in_pcbconnect(), check the return value from in_pcbbind() and 1999-06-25 23:46:47 +00:00
netipx Suser() simplification: 1999-04-27 11:18:52 +00:00
netkey #ifdef out unused function key_freetables. 1999-01-12 12:38:31 +00:00
netnatm
netns
nfs Fix warning. va_fsid is udev_t, which is int32_t. No need to use %lx. 1999-07-01 13:32:54 +00:00
nfsclient Fix warning. va_fsid is udev_t, which is int32_t. No need to use %lx. 1999-07-01 13:32:54 +00:00
nfsserver Submitted by: "David E. Cross" <crossd@cs.rpi.edu> 1999-06-30 04:29:13 +00:00
ntfs Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pc98 Added copyright. 1999-07-03 08:50:45 +00:00
pccard Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pci Only have the pci component compiled if pci is specified at config. 1999-07-03 18:34:04 +00:00
posix4 Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
powerpc Add alpha_platform_setup_ide_intr() and alpha_platform_assign_pciintr() 1999-07-01 22:47:53 +00:00
rpc
svr4 sys/buf.h needs to have included sys/systm.h for spl prototypes. 1999-07-03 04:56:57 +00:00
sys Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
tools Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
ufs No longer need to set B_ASYNC flag since BUF_KERNPROC now 1999-06-29 15:57:40 +00:00
vm Fix some int/long printf problems for the Alpha 1999-07-01 19:53:43 +00:00
Makefile Use MACHINE_ARCH instead of MACHINE to check x86 architecture. 1999-06-03 10:38:07 +00:00