summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2004-01-02PCI_PRODUCT_ALI_M1533 should use ali1543_init too. When the PCI id forTodd C. Miller
PCI_PRODUCT_ALI_M1543 was fixed machines with an M1533 stopped working. ok deraadt@
2004-01-01Crank SHMMAXPGS from 2048 to 8192. Other platforms where peopleTodd C. Miller
are using lots of shm may also wish to also increase SHMMAXPGS. OK deraadt@
2004-01-01Oops, commited from the wrong tree.Miod Vallat
2004-01-01Let this attach correctly.Miod Vallat
2004-01-01Add sram on mvme187.Miod Vallat
2004-01-01Inline pmap_copy() and pmap_phys_address().Miod Vallat
Also get rid of a spurious local initialization in pmap_remove_mapping().
2004-01-01Some typos just never die (here controler vs controller).Miod Vallat
2003-12-31workaround: during npx exception testing, delay(1). For some reasonTheo de Raadt
amd64 (in 32 bit mode) and the new transmeta cpus want this, and lock up otherwise. very odd.
2003-12-30kill a local var that is set and never used then laterMichael Shalayeff
2003-12-30Add support for all six Motorola-supported configurations of MVME376Miod Vallat
cards. The original code would only work with the first configuration, as the etherbuf addresses grow _downwards_ from 0xfd6c0000 with Motorola's jumper configuration. Reference: MVME376 Ethernet Communication Controller User's Manual (MVME376/D1) While there, do not panic() on failure to attach, but simply print an error message and return. XXX Proper care of the memory mapping still needs to be written, as the memory XXX space of the MVME376 is always outside extio.
2003-12-30provide accounting for the intr time properly from fredette@Michael Shalayeff
2003-12-30In pmap_copy_page() and pmap_zero_page(), it is not enough to flush theMiod Vallat
cache for the affected pages; force the ptes in write through instead. This gets rid of the corrupted svnd issues encountered randomly (but frequently) on mvme88k.
2003-12-29disable ie1@gsc as not really supported and a commented out bha@pciMichael Shalayeff
2003-12-29Since pmap_activate() does a complete user tlb flush, it is not necessaryMiod Vallat
to do another one in process.S...
2003-12-29Properly recognize SiS CPU family;Alexander Yurchenko
tested by Ian Zagorskih <ianzag@megasignal.com>. ok mickey@
2003-12-29correct probe console printf; miod okTheo de Raadt
2003-12-28Crank default data and stack limits, align with m68k values.Miod Vallat
2003-12-28Having vmel and vmes keep another pointer to their parent in their softc isMiod Vallat
just plain silly!
2003-12-28dma_cachectl() takes a va and computes the pa from it, no need to invoke itMiod Vallat
a second time with the pa...
2003-12-28More optimizations borrowed from the m68k pmap:Miod Vallat
- in loops over va space, do the empty segment test only once per segment - do not flush tlb for wiring-only changes While there: - in pmap_remove_all(), do not treat wired pages special. - move more paranoid tests from DIAGNOSTIC to DEBUG.
2003-12-27Replace the MVME376 driver from a homemade and dusty if_ve driver toMiod Vallat
a ``regular'' if_le driver, sharing the common am7990 code.
2003-12-27Handle odd sizes in d16_bcopy() and d16_bzero().Miod Vallat
2003-12-27Do not print vaddr in vme attachments.Miod Vallat
2003-12-27Basic cleaning and KNF; no functional change.Miod Vallat
2003-12-26A simple compile-time micro-optimization in pmap_protect() forMiod Vallat
non-hp300 flavours.
2003-12-26Merge the attachment part and the real work part of the SCSI drivers inMiod Vallat
one file per driver.
2003-12-25Enable vx(4) again - while it still awaits more tests, it can attach withoutMiod Vallat
affecting a multiuser boot.
2003-12-25Provide common D16 vmespace block access functions, instead of vs and vx eachMiod Vallat
rolling their own. Use them more cleverly in vx, in order to get the driver to at least attach and frob chips. Not tested besides multiuser boot (hence ttyflags -a), and checking cu(1) connects. More testing to come once I remember where I have hidden the 332XT transition module...
2003-12-25Remove duplicate ident strings.Miod Vallat
2003-12-25Disable vx* for now.Miod Vallat
2003-12-25Floating-point status register exception bits are supposed to be maintainedMiod Vallat
by software, so be sure to set them both the precise _and imprecise_ floating point exception handlers, whatever the state of the HANDLER define is (which is anyway, soon to be hitting the dust in a cvs tree near you...) This allows userland software to really trust fpgetsticky() results.
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
2003-12-24Murphy's law applied to BSD:Miod Vallat
Every non-KNF file in the source tree contains at least one severe bug. KNF and a timid start at cleaning, but not very far, so there is no functional change at the moment. This code is still pathetic for now, but it sorta works and the price was right.
2003-12-24Since we have real bus error faults, and handle them as such, always treatMiod Vallat
uvm_fault() returning EACCES as a segmentation fault rather than a bus error, whatever address the fault is at. As a result, this correctly delivers SIGSEGV, rather than SIGBUS, when attempting to write to a page with only PROT_READ permissions.
2003-12-24setperf and cpuspeed support; ok deraadt@Markus Friedl
2003-12-24cpu_cpuspeed has a proper external def, remove this one, suggested by teduDale Rahn
2003-12-24kill unused defineMichael Shalayeff
2003-12-24support cpu_cpuspeed on macppc.Dale Rahn
2003-12-23provide cpuspeed fluffMichael Shalayeff
2003-12-23Data access faults occuring inside copyin() or copyinstr() would getMiod Vallat
treated as usermode traps, because they reference a user space address. However, the tests for pcb_onfault being set were only present in the kernelmode traps handling. Since pcb_onfault is only set in those functions, move the associated recovery code from the kernelmode part to the usermode part, and only attempt to jump to pcb_onfault() if the access could not be resolved by uvm_fault() earlier. This lets things like setlogin(NULL) correctly return EFAULT, rather than killing the process with SIGSEGV, and incidentally lets sendmail in a non-default configuration run.
2003-12-23make it a righteous print of the bootpath (tail gravity it has that is)Michael Shalayeff
2003-12-23enable fxp as it seems to work nowMichael Shalayeff
2003-12-23unscrew the 16bit routines w/ a proper data reg calculationMichael Shalayeff
2003-12-23order the dc's; no measurable effectMichael Shalayeff
2003-12-23styleMiod Vallat
2003-12-23Simplify the syscall() routines. Also put a really meaningful limit to theMiod Vallat
number of syscall arguments, and enforce it correctly.
2003-12-22make sure to run probe only once per device w/ grumpy testingMichael Shalayeff
2003-12-22Do not play games with the instruction fetch pointers when preserving aMiod Vallat
process state in sendsig(), for it must be restored in the exact same fetching state by sigreturn(). mvme88k now passes the sigreturn regression test.
2003-12-22typos from Jared Yanovich;Jason McIntyre
plus one more s/bufferd/buffered;
2003-12-22Get rid of kvtop() usage in dma_cachectl().Miod Vallat