freebsd-nq/sys/i386/include
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
..
pc - Don't assume the line length in the video memory is always the same as 1999-02-05 11:52:13 +00:00
_limits.h Fixed style bugs in previous commit. 1999-05-22 08:36:55 +00:00
ansi.h Little reorganization: 1998-12-19 00:02:34 +00:00
apic.h Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
apicreg.h Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
apm_bios.h Add the ability to specify where on the at_shutdown queue a handler is 1998-10-30 05:41:15 +00:00
apm_segments.h
asc_ioctl.h
asm.h
asmacros.h Fixed profiling of elf kernels. Made high resolution profiling compile 1999-05-06 09:44:57 +00:00
asnames.h Unbreak VESA on SMP. 1999-05-12 21:39:07 +00:00
atomic.h Change various syscalls to use size_t arguments instead of u_int. 1998-08-24 08:39:39 +00:00
bootinfo.h Remove the bi_vesa field, as vesa modeswitching is no longer performed 1998-10-01 18:25:04 +00:00
bus_at386.h Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
bus_dma.h Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
bus_memio.h Implementation of Bus Space for FreeBSD-x86. 1998-01-15 07:32:56 +00:00
bus_pc98.h Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
bus_pio.h Implementation of Bus Space for FreeBSD-x86. 1998-01-15 07:32:56 +00:00
bus.h Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
cdk.h
clock.h Stop the TSC from being used as timecounter on K5/step0 machines. 1999-05-29 06:57:55 +00:00
comstats.h
cons.h
console.h The second phase of syscons reorganization. 1999-06-22 14:14:06 +00:00
cpu.h Moved cpu_set_fork_handler's prototype from <machine/cpu.h> to <sys/proc.h>. 1999-04-23 20:22:44 +00:00
cpufunc.h loadandclear() uses an atomic instruction (even on SMP, where it's an 1999-05-09 23:30:01 +00:00
cputypes.h Recognize Pentium II Xeon, Celeron and Pentium III cpus. Because CPU 1999-02-04 16:48:26 +00:00
cronyx.h Don't declare prototypes for driver functions unless KERNEL is defined. 1998-02-03 20:07:02 +00:00
db_machdep.h
dvcfg.h Changed inline' to __inline' so that this file can be compiled by 1998-02-03 20:14:35 +00:00
elf.h On the i386, load the ELF dynamic linker where an mmap(0, ...) would 1999-02-19 01:30:43 +00:00
endian.h
exec.h
float.h
floatingpoint.h Cast return values to the appropriate fp_*_t. Note that the man page 1998-04-27 14:17:30 +00:00
frame.h Yet another place I missed when increasing trapframe size, which causes problem 1999-05-11 16:29:21 +00:00
globaldata.h Unifdef VM86. 1999-06-01 18:20:36 +00:00
globals.h Unifdef VM86. 1999-06-01 18:20:36 +00:00
gsc.h
i4b_cause.h update the i4b include files to i4b release 0.71.00 1999-03-07 16:09:45 +00:00
i4b_debug.h upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
i4b_ioctl.h upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
i4b_tel_ioctl.h upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
i4b_trace.h update the i4b include files to i4b release 0.71.00 1999-03-07 16:09:45 +00:00
ieeefp.h
if_wavelan_ieee.h Add device driver support for the Lucent WaveLAN/IEEE 802.11 PCMCIA 1999-05-05 07:37:11 +00:00
if_wl_wavelan.h Moved misplaced idempotency ifdef. Multiple inclusion was fatal since 1998-02-03 20:24:13 +00:00
iic.h Change /dev/smb and /dev/iic interface to allow user programs to interact with 1999-01-09 18:08:24 +00:00
in_cksum.h
ioctl_bt848.h Bt848 driver release 1.65 1999-05-18 12:14:39 +00:00
ioctl_ctx.h
ioctl_fd.h
ioctl_meteor.h
ipl.h Removed a bogus ifdef that broke using SWI_* in LKMs. 1998-08-11 19:21:17 +00:00
joystick.h
limits.h Fixed style bugs in previous commit. 1999-05-22 08:36:55 +00:00
lock.h Remove stuff related to microtime.s, which is gone. 1998-04-06 11:38:18 +00:00
lpt.h
md_var.h Enable vmspace sharing on SMP. Major changes are, 1999-04-28 01:04:33 +00:00
mouse.h 1) Added define for USB as an interface 1999-02-21 16:08:43 +00:00
mpapic.h Use <machine/*.h> instead of <i386/include/*.h>. 1998-02-01 22:23:18 +00:00
mptable.h Changes in the way that the APs are started appears to have removed the 1999-06-23 23:02:38 +00:00
mtpr.h
npx.h Enable vmspace sharing on SMP. Major changes are, 1999-04-28 01:04:33 +00:00
param.h Don't define MACHINE, MACHINE_ARCH, _MACHINE or _MACHINE_ARCH if 1999-03-01 06:10:16 +00:00
pcaudioio.h
pcb_ext.h
pcb.h Unifdef VM86. 1999-06-01 18:20:36 +00:00
pci_cfgreg.h
pcpu.h Unifdef VM86. 1999-06-01 18:20:36 +00:00
pcvt_ioctl.h Adopt syscons's recent change from key_t to keyent_t (this part of 1999-03-04 10:50:36 +00:00
perfmon.h
pmap.h Do not setup 4M pdir until all APs are up. 1999-06-23 21:47:24 +00:00
proc.h Enable vmspace sharing on SMP. Major changes are, 1999-04-28 01:04:33 +00:00
profile.h Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
psl.h
ptrace.h Disallow reading the current kernel stack. Only the user structure and 1998-05-19 00:00:14 +00:00
random.h Converted add_interrupt_randomness() to take a `void *' arg. Rewrote 1998-06-21 11:33:32 +00:00
reg.h Enable vmspace sharing on SMP. Major changes are, 1999-04-28 01:04:33 +00:00
reloc.h
resource.h A small fragment of new ISA framework: manifest constants for the resources 1998-10-29 01:56:23 +00:00
segments.h Changed the global `idt' from an array to a pointer so that npx.c 1999-06-18 14:32:21 +00:00
setjmp.h Suggested by: bde 1998-01-20 09:09:24 +00:00
si.h Add a macro tweak. 1998-06-13 19:36:22 +00:00
signal.h
smb.h Change /dev/smb and /dev/iic interface to allow user programs to interact with 1999-01-09 18:08:24 +00:00
smp.h Enable vmspace sharing on SMP. Major changes are, 1999-04-28 01:04:33 +00:00
smptests.h Remove stuff related to microtime.s, which is gone. 1998-04-06 11:38:18 +00:00
soundcard.h o sys/i386/include/soundcard.h 1999-04-08 08:09:34 +00:00
speaker.h
specialreg.h Add defines for the P6 model-specific registers. 1999-04-07 03:58:15 +00:00
spigot.h
stdarg.h
sysarch.h u_int --> unsigned int, remove (now unneeded) <sys/types.h> 1998-07-28 15:22:51 +00:00
trap.h
tss.h Enable vmspace sharing on SMP. Major changes are, 1999-04-28 01:04:33 +00:00
types.h Stage 1 of a cleanup of the i386 interrupt registration mechanism. 1999-04-21 07:26:30 +00:00
ultrasound.h Part 3 of the pcvt/voxware revival. 1999-01-01 08:23:23 +00:00
varargs.h
vm86.h Unifdef VM86. 1999-06-01 18:20:36 +00:00
vmparam.h Increased MAXTSIZ to 128MB...there are binaries that get quite large. 1998-06-12 09:10:22 +00:00
wtio.h