summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-02-20Put ral* at pci? onto the install media. Noted by Sunnz (sunnzy (at)Tom Cosgrove
gmail (dot) com) and Stuart Henderson (stu (at) spacehopper (dot) org) on misc@. ok deraadt@
2007-02-19Put warning about shared IPL interrupts under MPVERBOSE and don't talk aboutMark Kettenis
degraded performance. requested by deraadt@
2007-02-19only make this interface available to the kernel for now, discussed withaTheo de Raadt
rt and such; tested and ok miod drahn
2007-02-19ACPIVERBOSE should be off, like i386Theo de Raadt
2007-02-19Remove unused variable lapic_timerTom Cosgrove
ok art@
2007-02-18Correct yo-yo shutdowns:Gordon Willem Klok
Apparently some machines don't detect a clean (i.e. software initiated) shutdown; and ignore the 'wake on AC loss' bit, meaning they wake up immediatly after being told to shutdown e.g. via shutdown -hp. So now we continue preserve the wake on AC loss behaivour, howerver if we initiate a clean shutdown we clear this bit so that it the machine does not immediately power back up again. ok kettenis@
2007-02-18Display the interrupt priority in dmesg, for frame buffers which registerMiod Vallat
interrupt handlers.
2007-02-18Make it more apparent these boards have (crippled version of) vga-compatibleMiod Vallat
crtc. No functional change.
2007-02-18Remove #ifdef/#endif's around MBR checking code. Remove now unusedKenneth R Westerback
option DISKLABEL_I386. ok deraadt@
2007-02-18If no MBR partitions are found when spoofing a disklabel, try lookingKenneth R Westerback
for a bare FAT12/16/32 filesystem. If one is found, spoof it as 'i'. This enables iPod shuffles and other umass devices that are shipped with a bare FAT32 filesystem to be used as install media. And generally makes things easier for the user just trying to mount some media, e.g. floppies. Does not make it safe to write a disklabel or MBR on such a device! That will still obliterate the FAT filesystem. Help and suggestions from tom@ and deraadt@. Feedback and suggestions for future enhancements from espie@ mickey@ and peter@. ok tom@ deraadt@
2007-02-18In writedisklabel(), read the disklabel sector before rewriting it, toMiod Vallat
preserve the non-disklabel contents; otherwise altering your disklabel may render your machine unbootable. ok deraadt@ krw@
2007-02-17Add SMALL_KERNEL throught acpi to make it fit on boot media.Marco Peereboom
ok deraadt
2007-02-17If we __HAVE_PMAP_DIRECT, handle these mappings in pmap_extract().Miod Vallat
2007-02-17In pmap_collect():Miod Vallat
- do not bother checking for pmap_kernel() and operating on it, as pmap_collect() will not be invoked for P_SYSTEM process. - preserve wired pages while purging.
2007-02-17Bring in the AMD errata checks from amd64.Tom Cosgrove
Changes to either copy of amd64errata.c must be replicated in the other. ok deraadt@
2007-02-17Add code to check for the AMD amd64 errata, and correct them whereTom Cosgrove
possible. Taken from NetBSD. ok deraadt@
2007-02-17Fix spelling of Cool'n'Quiet, as done on i386 some time ago. AlsoTom Cosgrove
correct PowerNow in a couple of places.
2007-02-17To squeeze new stuff onto onto the very full boot floppies, occasionallyTheo de Raadt
some drivers for ancient devices must die. To modify one of my favorite quotes into this particular context: The total amount of suffering per year [on a boot floppy] is beyond all decent contemplation. During the minute that it takes me to compose this sentence, [a few device drivers] are being [deleted], many others are running for their lives, whimpering with fear, others are being slowly devoured from within by rasping parasites, thousands of all kinds are dying of starvation, thirst and disease. It must be so. If there is ever a time of [sufficient space], this very fact will automatically lead to an increase in [driver] population until the natural state of starvation and misery is restored. - cribbed from Richard Dawkins "God's Utility Function", Scientific American, November 1995 Of course, these drivers remain on the CD boot media, so there is a solution for the truly desperate legacy addicts.
2007-02-16Enable malo(4) on macppc. OK mglocker@ deraadt@Claudio Jeker
2007-02-15TX is working fine, turn off debug.Dale Rahn
2007-02-15break into ddb right from comintr() w/o softtty (same as com(4) does); miod@ okMichael Shalayeff
2007-02-15Add a mapping for logical to physical endpoints, otherwise data tries toDale Rahn
go out the wrong endpoint. Some debug massage.
2007-02-15Fix transmit packet termination. odd length and 64 byte multiple packetsDale Rahn
were not sending the last data correctly before.
2007-02-15Don't print the error strings returned by readdisklabel(). If youKenneth R Westerback
need the debug info uncomment the printf's you need. Crude but effective way to suppress 'no disklabel' errors that pop up at the most innconvenient times to frighten users. More elegant method, DPRINTF-like constructs or something, later. "Yay!" marco@ ok deraadt@
2007-02-14FALLTHRU -> FALLTHROUGH for consistency.Jonathan Gray
Suggested by miod@
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
ok kettenis@ cloder@ tom@ henning@
2007-02-13Add a delay for ep0 handling. Dunno why, but without debug prints it wouldDale Rahn
not attach properly until a delay was added. Also some debug quieting.
2007-02-13Remove a.out nlist support (COFF nlist is kept in case kernel has COMPAT_OSF1)Miod Vallat
2007-02-13USB client mode with cdce function driver is coming along, RX and TX kinda work.Dale Rahn
Limitations include failing to recieve packets that are a multiple of 64 bytes and sending packets longer than 128 bytes appears to be messed up. Work in progress.
2007-02-13Zap unused local acpi_attached variable, since it has been supersededDimitry Andric
by acpi_hasprocfvs. ok gwk
2007-02-13Check for xTPR result of CPUID.Jonathan Gray
ok tom@
2007-02-13Check for some CPUID flags found on newer Intel processors.Jonathan Gray
ok tom@ gwk@ krw@
2007-02-12Cope with the different format of the name property of the root device inGordon Willem Klok
the openfirmware tree as found in old world macs. Also utilize the compatible property to print nice model information in the dmesg and the sysctl hw.vendor/product fields. mainbus0 (root): model Power Macintosh 9500 hw.vendor=Apple Computer, Inc. hw.product=Power Macintosh 9500 Note this is from a 9600, this information will reflect the architecture in this case both the 9500 and 9600 are from tsunami architecture and differ only in the processor daughtercard. Tested by myself and martin@ on old world machines, and by martin@ on a new world. ok martin@, drahn@
2007-02-12OpenBSD -> .OxJason McIntyre
> -> \*(Gt
2007-02-12sync the wording w/ the i386 page;Jason McIntyre
2007-02-12zap double word;Jason McIntyre
2007-02-12Add cuda_fileserver_mode() and pmu_fileserver_mode() that enable the wakeGordon Willem Klok
on AC loss feature of the power management IC. Make this the default behaviour when booting OpenBSD from now on. This will only affect machines that have the power suddenly cut, Performing a shutdown requesting power down will clear this mode and its then possible to remove the power cord, and plug it back in without the machine comming back on automatically. Tested by myself, drahn ok kettenis, drahn.
2007-02-12Fix the hw.vendor/product sysctls on sparc64, handle the cases whereGordon Willem Klok
banner-name begins with "SUNW," and make a copy of the platform_type buffer before chopping it up, so other/future users of platform_type dont get a rude shock. deraadt asked for this a 100 million years ago before 4.0. tested by pyr, brad, and kettenis. ok kettenis@
2007-02-12Reduce debug.Dale Rahn
2007-02-12If SMAC is set in the correct register, it works much better, also setDale Rahn
the direction bit correctly. More cleanup.
2007-02-12Enable the AES acceleration. Won't be picked up for IPsec, since weTom Cosgrove
don't support the other required operations in the driver, but will be used by OpenSSL. ok deraadt@
2007-02-124.1-betaHenning Brauer
2007-02-11typo in commentMartin Reindl
2007-02-11Remove now unused evcnt field from struct cpu_info.Miod Vallat
2007-02-11Remove _KERNEL_OPT leftovers.Miod Vallat
2007-02-11Rework the cache handling routines again. We now try to operate on the exactMiod Vallat
address range we've been given, rounded to cache line boundaries, instead of being lazy and operating on pages as soon as the range was large enough. Also, since the ranges we'll be invoked for are reasonably small, it does not make sense to check for segment sizes - we're always smaller, really. While there, hardcode the size in cmmu_flush_data_cache(), which becomes cmmu_flush_data_page(), since it was always invoked for complete pages.
2007-02-11Rework the i/o mapping logic so that it allows the 1:1 region to not go up toMiod Vallat
the end of the address space; allows the A16D16 VME space to be mapped correctly again on MVME197.
2007-02-11Shuffle code around so that optimization of the m88110_trap() return getsMiod Vallat
computed correctly.
2007-02-09Don't both reloading the CPL into %eax before pushing it onto the stack,Tom Cosgrove
since it's already in %ebx. (And %eax is reloaded immediately after the push, so CPL not needed in %eax.) Saves one load every interrupt. ok dim@, gwk@
2007-02-09LCD device driver, second step. Now the driver works with autoconf.Kenji Aoyama
ok miod@