summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2007-06-07More bounds_check_with_label homogenization. Fix a couple of typos whileKenneth R Westerback
there. 'so go to it!' deraadt@
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors
2007-06-06a fair sprinking of knf, code movement, and sometimes character-by-characterTheo de Raadt
accuracy so that the variious disksubr.c's can be compared easier. setdisklabel() starts taking an int for openmask. ok krw, and read by quite a few other people
2007-06-05Remove the comment "Static function protoypes". Static is gone in USB.Marc Balmer
no binary change.
2007-06-05Remove the "Static" function declaration. It is defined to beMarc Balmer
empty and confuses the source code reader. As discussed with dlg and jsg.
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-04do not shuffle dev 4 under the carpet; make svnd work again; uncookieOtto Moerbeek
for deraadt@ ok irc@
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-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-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-05-31Add Bluetooth drivers to GENERIC (not enabled - we still have ways to go)Uwe Stuehler
ok gwk, deraadt
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-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-30Add support for iBook G4. -mojMats O Jansson
2007-05-30Make xlights(4) probe correctly on the Xserve G5, still does not correctGordon Willem Klok
the i2s timeout. ok drahn
2007-05-29start of dumpconf() unification, which one day we can pray will be MITheo de Raadt
(and part of setroot); ok miod
2007-05-29Use atomic operations to operate on netisr, instead of clearing it at splhigh.Miod Vallat
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones.
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@
2007-05-29Refactor readdisklabel() to ensure there is a single point of return, inKenneth R Westerback
preparation for translating all disk labels visible to the kernel to the soon to arrive V1 format. ok otto@ deraadt@
2007-05-28avoid bypassing sys/queue.h in many places in the kernel.Pierre-Yves Ritschard
many assumptions were made about the way the various list types are implemented. lots of suggestions and help from otto and miod. ok otto@
2007-05-28pcn(4) works hereMartin Reindl
2007-05-27Move powerpc to vm_page_md, 'throw it in' kettenis@Dale Rahn
2007-05-27USB cleanup leftover. Diff from jsg@ tested by me.Marcus Glocker
2007-05-26missed this, remove bio here for move to sys/conf/GENERICTodd T. Fries
ok drahn@
2007-05-26Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@Pedro Martelletto
deraadt@ dlg@.
2007-05-26If booted from ADPT,2940U2B, root is on scsi.Dale Rahn
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-23Add code to spin up secondary cpu's; still work in progress.Mark Kettenis
prompted by deraadt@ a few times already.
2007-05-23Print real/available memory in MB as well as bytes in dmesg, and unifyPeter Valchev
architectures to print it the same way. ok henning, miod; i386 part from tom
2007-05-20lockmgr -> rwlock for piic(4), kiic(4) and smu(4);Thordur I. Bjornsson
smu(4) tested by kettenis@, ok krw@
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo de Raadt
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them)
2007-05-14Use value passed as in ca_reg as cpuid instead of unit number.Mark Kettenis
ok drahn@
2007-05-10The road to supporting bigendian openpic starts.Dale Rahn
2007-05-08correct dmesg outputTheo de Raadt
2007-05-08no need to print boot device name twiceTheo de Raadt
2007-05-08uninitialized variable passed to setroot()Theo de Raadt
2007-05-04make findblkmajor() and findblkname() MI; ok miodTheo de Raadt
2007-05-04setroot() was a ugly mix of MI and MD code, with different bugs on differentTheo de Raadt
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..)
2007-05-03Config file for MULTIPROCESSOR kernel.Mark Kettenis
2007-05-03Add dummy functions to make MULTIPROCESSOR kernels compile.Mark Kettenis
2007-04-24Firmware lies! Switching from LEVEL to EDGE triggered interrupt preventsGordon Willem Klok
storms. ok kettenis
2007-04-23rename drivers with numbers in them; ok gwk drahnTheo de Raadt
2007-04-23iqg -> irqGordon Willem Klok
spotted by miod
2007-04-22better interrupt names for vmstat -iz; ok miod gwkTheo de Raadt
2007-04-22Add sysbutton a driver for the 'System identifier' button found on theGordon Willem Klok
fornt panel of the xserve (the button with the triangle on it). This driver will dump you into ddb at the press of a button if the ddb.console sysctl is set. The bug still has one unresolved issue if ddb.console is not set and you press and hold the button you will cause a interrupt storm that will slow the system down. So if you keep your xserve near a toddler or you yourself are a toddler you might want to consider disabling this device remember buttons arn't toys. ok deraadt.
2007-04-22rename a very long driver name to something shorter, and more clearTheo de Raadt
and while there, fix the interrupt name for vmstat -iz; ok gwk