world/kernel: Use the rounddown2() macro in various places.Tested-by: zrj
kernel: Remove some PC98 remains.These were either not caught when we removed support, or they came backin later.
kmod.mk: Remove some dead code supposed to handle modules' manual pages.It was ignored previously and since we do not keep kernel relatedmanual pages in sys/ the whole idea is bogus anyway.
Update cardbus/pccard support.The original patch was done by joerg@; I seemed to "maintain"it for quite a long time :PObtained-from: FreeBSDTested-by: many (intermittently tho)
Rename printf -> kprintf in sys/ and add some defines where necessary(files which are used in userland, too).
Do a major clean-up of the BUSDMA architecture. A large number ofessentially machine-independant drivers use the structures and definitionsin machine-dependant directories that are really machine-
Do a major clean-up of the BUSDMA architecture. A large number ofessentially machine-independant drivers use the structures and definitionsin machine-dependant directories that are really machine-independant innature.Split <machine/bus_dma.h> into machine-depdendant and machine-independant partsand make the primary access run through <sys/bus_dma.h>.Remove <machine/bus.h>, <machine/bus_memio.h> and <machine/bus_pio.h>. Theoptimizations related to bus_memio.h and bus_pio.h made a huge mess,introduced machine-specific knowledge into essentially machine-independantdrivers, and required specific #include file orderings to do their job.They may be reintroduced in some other form later on.Move <machine/resource.h> to <sys/bus_resource.h>. The contents of the fileis machine-independant or can be made a superset across many platforms.Make <sys/bus.h> include <sys/bus_dma.h> and <sys/bus_resource.h> andinclude <sys/bus.h> where necessary. Remove all #include's of<machine/resource.h> and <machine/bus.h>. That is, make the BUSDMAinfrastructure integral to I/O-mapped and memory-mapped accesses to devicesand remove a large chunk of machine-specific dependancies from drivers.bus_if.h and device_if.h are now required to be present when using <sys/bus.h>.
show more ...
Remove PC98 support.
Initial backport of NEWCARD from FreeBSD 5.The included version is from end of November 2002 with the exception ofbus/pccard/pccarddevs which is from November 2003.Thanks to Warner Losh and the
Initial backport of NEWCARD from FreeBSD 5.The included version is from end of November 2002 with the exception ofbus/pccard/pccarddevs which is from November 2003.Thanks to Warner Losh and the other folks for NEWCARD.