| Age | Commit message (Collapse) | Author |
|
The recommended workaround is a 5-10ms delay before and after accesses.
Therefore, move the affected bus_space_* operations from bus.h to bus.c
and special-case MACE accesses.
CRIME accesses are not affected, so introduce SGIMIPS_BUS_SPACE_CRIME and
use it as the CRIME tag.
My ip32 seems a little bit happier with this change, and my ip22 didn't
notice the change.
|
|
|
|
|
|
if possible. Tested on my O2 (with r5ksc patch).
XXX should we apply similar changes to mips/bus_dma.c and use it?
|
|
(with several cosmetic changes by me) which fixes O2 (IP32) support.
Now my R5000 O2 works fine in multiuser with on-board AIC7880 SCSIs
and several PCI network cards (but only on serial console yet).
L2 cache on R5000/Rm5200 is still disabled for now, but it will be
fixed later, hopefully.
See recent discussion on port-sgimips for details.
|
|
Changes from Izumi Tsutsui, tested by Havard Eidnes.
|
|
Patches provided by Joel Baker in PR 22364, verified by myself.
|
|
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
|
|
with cycle counter based microtime in kern/kern_microtime.c.
|
|
|
|
|
|
options" section.
|
|
still needs some arch/mips support code before it will fully work.
|
|
from rafal
|
|
|
|
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
|
|
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.
pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
|
|
speading port names in arch-dependant code.
|
|
|
|
several MIPS architectures)
|
|
Currently, everyone uses pci_enumerate_bus_generic().
|
|
|
|
zs major number out of the cdevsw table rather than hardcoding it in zs.c.
|
|
start these at 0x10000 to leave room for an increase in the latter.
|
|
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.
|
|
- delete cdev_decl(mm) since <sys/conf.h> does it.
|
|
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
forthcoming.
|
|
|
|
Remove __NO_SOFT_SERIAL_INTERRUPT.
|
|
the platform supplies a clkread function that does something other than
return 0 (which is the default unless overridden by the platorm code).
Supply such a function for the IP22; even if it isn't perfect, it goes
a long way to making ntp usable.
While I'm at it, move the ticks-per-hz variable out of the struct platform
since it's really private to the per-platform interrupt/clock code.
XXX: No clkread function supplied for IP32, since it has other problems --
like a hardcoded ticks-per-hz, but the same code as on the IP22 could be
used.
|
|
due to its similarities.
Patch has been tested by many people on the sgimips list for some time with
no complaints.
Contributed by: Christopher SEKIYA <wileyc@rezrov.net>
|
|
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
|
|
line parameters, and device_register() to try to match the boot device. Works
on a Challenge S (and similar machines), but will need more work for other
SCSI adapters.
|
|
|
|
|
|
|
|
|
|
in every MIPS port's <machine/cpu.h>.
|
|
|
|
files.
|
|
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
|
|
|
|
code.
- Garbage-collect some non-useful stuff from the mainbus_attach_args.
|