summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-06-05bounds_check_with_label() checks for i/o outside of the partition andKenneth R Westerback
for overwriting the disklabel. Reorder some checks so all copies of bounds_check_with_label do the checks in the same order. Order picked by using the currently most popular one. Should be no functional change. "If it's boring, commit it" deraadt@
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values
2007-06-04bluetooth isn't really useful yet, but at least give it a chance to compileChris Kuethe
ok gwk
2007-06-04Bring presto's readdisklabel() usage into line with other uses. i.e.Kenneth R Westerback
don't call it at attach but at open, so that the correct device can be used in the DISKLABELDEV() invocation. Commit and get into miod's test schedule. '... commit your diff ...' miod@
2007-06-04do not shuffle dev 4 under the carpet; make svnd work again; uncookieOtto Moerbeek
for deraadt@ ok irc@
2007-06-04Use 166.67 and 266.67 for bus_clock and not 166.66 and 266.66,Jonathan Gray
as per recommended values from Intel documentation. ok tedu@
2007-06-03if the 915gm didn't work on i386, it's worrisome here too. remove it.Ted Unangst
2007-06-03Dummy <machine/bus.h> for softraid to compile.Miod Vallat
2007-06-03Add a check for Intel Core processors with Scalable Bus Speed of 200 MHz.Jonathan Gray
From NetBSD and verified in Intel doc #253669 ok tedu@
2007-06-02Match on ICH8M.Jonathan Gray
Tested by Daniel Dickman <didickman@gmail.com>
2007-06-02oops, why did i delete this. bizzareTheo de Raadt
2007-06-02Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than justKenneth R Westerback
convert version 0 to version 1 disklabels. Suggested by deraadt@. ok deraadt@ otto@
2007-06-02stand/ofdev.hTheo de Raadt
2007-06-01remove ofw devices which we don't use; that way of mixing devices is crazyTheo de Raadt
(means i also don not have to fix the daddr_t problems) ok miod
2007-06-01Revert INTEL_82915GM part of tedu's commit as it hung my T43Bjorn Sandell
ok tedu@
2007-06-01Infrastructure to allow root on wd0.Miod Vallat
2007-06-01some pentium 4 machines are 64-bit and have EST, but a different msr toTed Unangst
get bus clock. copy in some more code from i386 to deal with both families, and be more watchful for unknown models. fixes a panic reported by johan lindman. ok gwk
2007-06-01Replace comment in Swedish. -mojMats O Jansson
2007-06-01Instead of reexporting PAGE_SIZE from assym.h which causes warningsArtur Grabowski
for locore, just include machine/param.h in vector.S
2007-06-01set hiwat mark for some of the more popular pools to reduce bouncingTed Unangst
ok art bob
2007-06-01some architectures called setroot() from cpu_configure(), *way* before someTheo de Raadt
subsystems were enabled. others used a *md_diskconf -> diskconf() method to make sure init_main could "do late setroot". Change all architectures to have diskconf(), use it directly & late. tested by todd and myself on most architectures, ok miod too
2007-06-01Provide carefully crafted DEADBEEF* values, this was initially forgotten inMiod Vallat
the commit which enabled DEADBEEF* overrides, then values have been discussed a bit more and improved; reminded by and ok art@
2007-06-01Fix cd block major numberMiod Vallat
2007-06-01Fix macppc tags.Alexander Yurchenko
ok drahn@
2007-06-01Establish interrupt after checking the i2s subsystem, fixes a problem withGordon Willem Klok
xserve G5. ok drahn
2007-06-01never attempt to tweak a file just before commitTed Unangst
2007-06-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
readdisklabel(), since all readdisklabel()'s do that already. ok deraadt@
2007-05-31panic if mtx_leave is called on an unlocked mutex. ok kettenis@Dale Rahn
2007-05-31intel pchb rnd support, from i386Ted Unangst
ok deraadt
2007-05-31It's the time to squash antique bugs. This has been thereTobias Weingartner
for some time. I can't believe it took a re-read for future functionality plus something I wrote and kjell@ saved from '97 for me to find this. ok tom@
2007-05-31Add Bluetooth drivers to GENERIC (not enabled - we still have ways to go)Uwe Stuehler
ok gwk, deraadt
2007-05-31some more pchb that have rnd powers, IDs from NetBSDTed Unangst
2007-05-31RAW_PART is defined to be 2 in vax (like elsewhere) so use it ratherKenneth R Westerback
than 2.
2007-05-31Well, whatever the bug was, it does not seem to appear anymore.Artur Grabowski
Remove the workaround. (krw tried to reproduce many, many times)
2007-05-31Minor bounds_check_with_label nits.Kenneth R Westerback
1) Use local variable 'labelsector' not 'labelsect' to be consistant (hp300, mac68k, mvme68k, mvme88k, vax). 2) Having checked for sz == 0, the next check needs only be sz < 0, not <= 0. (mac68k, mvme68k, mvme88k) 3) Use lp->d_partitions + DISKPART(dev), rather than lp->d_partitions[DISKPART(dev)] (hp300). Assuming no typos there should be no functional change.
2007-05-31Forgot to commit the changes to this file with the rest of the ELF32+64Tom Cosgrove
pieces. Since this is where the "boot both ELF32 and ELF64" behaviour is turned on for i386, it is quite important. Bump version numbers too. Found by ckuethe@; thanks.
2007-05-31KNF, whitespace and comment rectification to make allKenneth R Westerback
bounds_check_with_label() routines as identical as possible without changing any code. Code nits and adjustments to come.
2007-05-31use the right capitalization for `MBus'Igor Sobrado
ok'd some days ago by jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31include files.bluetooth here; ok gwkUwe Stuehler
2007-05-31An SDIO Bluetooth driver, only initial bits and therefore not enabled yetUwe Stuehler
2007-05-31Add a comment so this is identical to the i386 versionTom Cosgrove
2007-05-31Make powernow-k8 on amd64 and i386 use the _PSS object from acpi toGordon Willem Klok
retreive p_state data as spelled out in the amd64 bios and kernel developers guide. This code is still a little rough around the edges but has been tested by myself on a tyan machine and by phessler at theapt dot org on an HP DL145. This diff also takes a first stab and cleaning up the acpicpu dmesg spam. ok tedu, marco
2007-05-31Standardize on -1 as the error return value forKenneth R Westerback
bounds_check_with_label. All callers check for <= 0, so no functional change. Feedback from miod@. ok weingart@
2007-05-31Be consistant and use b_cylinder when saving the cylinder number forKenneth R Westerback
disksort, not b_resid. b_cylinder is defined to be 'b_resid' so no functional change. ok deraadt@
2007-05-31extend the sun disklabel format to contain filesystem types. also,Theo de Raadt
store the information fsck needs. this allows us to create raid partitions, nicely, of course. ok miod todd krw
2007-05-30Add support for iBook G4. -mojMats O Jansson
2007-05-30Q: How did _dmamap_sync() work before?Miod Vallat
A: It didn't.
2007-05-30Missed one minaddr initialization before invoking uvm_km_suballoc().Miod Vallat
2007-05-30More cpuinfo vs _KERNEL fallback.Miod Vallat