summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2007-08-21Remove two out-of-date comments.Mark Kettenis
2007-08-21Do not repeat device name in failure message printed during attachment.Mark Kettenis
2007-08-15Kernel stacks can live beyond EINTSTACK now.Mark Kettenis
ok deraadt@
2007-08-10Be more careful when asking for the next property. help and ok kettenis@.Federico G. Schwindt
2007-08-07Add "dma" and "ledma" as busses that potentially have the root device on them.Mark Kettenis
Makes the Ultra-1 find its root disk again. tested by nick@ and fgsch@, ok deraadt@
2007-08-04Enable CardBus bus support, and add ne(4).Mark Kettenis
ok deraadt@
2007-08-04rbus for sparc64Mark Kettenis
ok deraadt@
2007-08-04Add sparc_bus_addr member to struct sparc_bus_space_tag. This function mapsMark Kettenis
a bus_space_handle_t back to a bus_addr_t. Needed for rbus. Only implemented for mainbus(4) and psycho(4) for now; schizo(4) and pyro(4) will follow soon. ok deraadt@
2007-08-04Add missing pci_intr_line() implementation.Mark Kettenis
ok deraadt@
2007-07-30Shuffle the order in which we look for header files, when doingThordur I. Bjornsson
kernel builds locally this doesnt change much but over NFS this cuts about 12% of the build time on my setup (i386). OK miod@, deraadt@.
2007-07-29Add support for bootpaths like /pci@1f,4000/ide@3,0/ata@0,0/cmdk@0,0Mark Kettenis
in addition to paths like /pci@1f,0/ide@d,0/disk@0,0 for machines rooting off wd(4). This makes the Ultrabook 170/200 find its root disk. tested by krw@
2007-07-28Don't try to map interrupts that are already fully specified. Makes theMark Kettenis
onboard IDE controller on the Ultrabook 170/200 work.
2007-07-24Remove some goo for dealing with 32-bit cpu's.Mark Kettenis
"I don't mind this diff" miod@
2007-07-22Get rid of the fixe VA range for device mappings; use uvm_km_valloc() instead.Mark Kettenis
This allows mappings of more than 256MB, needed by some frame buffers. "looks good", miod@
2007-07-05Report actual faulting address (if we can) instead of the mmu tag word forMark Kettenis
SIGSEGV. tested by jasper@
2007-07-02allow pciide to attach to jmb as well as ahciDavid Gwynne
2007-07-02Add arc/jmb/ahci here as well.Jonathan Gray
Suggested by and ok dlg@
2007-07-02enable jmb on all archs that support ahci, so jmicron boards will continueDavid Gwynne
to work (and work better in the future)
2007-07-01Add gentbi(4).Mark Kettenis
2007-06-29sick of extra static messing up tracebacks; ok miodTheo de Raadt
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialDavid Gwynne
kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too. noone tested, so its going in to force people to run with it. "put it in" deraadt@
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
2007-06-20In vunmapbuf(), explicitely remove mappings before invoking uvm_km_free().Miod Vallat
Even if the latter would end up removing the mappings by itself, it would do so using pmap_remove() because phys_map is not intrsafe; but some platforms use pmap_kenter_pa() in vmapbuf(). By removing the mappings ourselves, we can ensure the remove function used matches the enter function which has been used. Discussed and theoretical ok art@
2007-06-18using same words in similar code sequences is goodTheo de Raadt
2007-06-18msg is already gauranteed to be NULLTheo de Raadt
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
2007-06-14bzero the right thingTheo de Raadt
2007-06-14some spaces in the wayTheo de Raadt
2007-06-14excessive blank lines making the versions differentTheo de Raadt
2007-06-14set the prototype disklabel to version 1Theo de Raadt
2007-06-14do not depend on previous loop variable, use a constant insteadTheo de Raadt
2007-06-12all disksubr.c did their b_flags manipulation differently (and wrong).Theo de Raadt
correct and unify; ok thib miod
2007-06-09The differences in the last non-homogeneous bounds_check_with_label()Kenneth R Westerback
routines (alpha, vax) prove to be not worth keeping. Move bounds_check_with_label() into the MI world. Eliminate unreliable and almost certainly useless checks for overwriting a disklabel. After discussion with deraadt@
2007-06-09by hand i carefully found that all the differences in setdisklabel()Theo de Raadt
implimentations were simply either missing code, or spacing and such. setdisklabel() can become MI now.
2007-06-09annoying spacing glitch which makes the diffs biggerTheo de Raadt
2007-06-08include files.bluetooth, so that bluetooth support can be compiled,Jasper Lievisse Adriaanse
if enabled. ok gwk@
2007-06-08all drivers should spoof version 1 labelsTheo de Raadt
2007-06-08- always set the partition disk size to full disk info (from driver)Theo de Raadt
- always store our new fatty 16-partitions-with-full-cpg-info style sun disklabels on the disk. - correct an error in matching old-style 16-partition matching code; the checksum spanned a different region tested by me, groked by krw, which is a lot more than the rest of the post-hackathon exhausted slackers
2007-06-07Comment 'fixes'. All bounds_check_with_label now identical except forKenneth R Westerback
vax and alpha.
2007-06-07More bounds_check_with_label homogenization. Fix a couple of typos whileKenneth R Westerback
there. 'so go to it!' deraadt@
2007-06-06clamp the disklabel d_secperunit to what the disk actually says it has,Theo de Raadt
not to what some bogus disklabel from the past may say (some of which may have been caused by older openbsd disklabel programs). resolves issues seen by myself and Markus Lude on sparc/sparc64 machines
2007-06-06an XXsize() function that got skippedTheo de Raadt
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-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-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-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-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
readdisklabel(), since all readdisklabel()'s do that already. ok deraadt@
2007-05-31Add Bluetooth drivers to GENERIC (not enabled - we still have ways to go)Uwe Stuehler
ok gwk, deraadt