Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-01 | Reset PDC devices before enabling iova space if we're not on a serial console. | Mark Kettenis | |
Makes glass console on four-digit B/C/J-class systems work. | |||
2007-07-01 | Oops! Revert previous commit. | Mark Kettenis | |
2007-07-01 | Add PDC_IO. | Mark Kettenis | |
2007-07-01 | Add a few more registers. | Mark Kettenis | |
2007-06-30 | Bump number of supported interrupt routing entries. | Mark Kettenis | |
2007-06-26 | Switch associated pciide(4) into native mode, and route its interrupt | Mark Kettenis | |
appropriately. Make it use irq 5, and rewire lpt(4) to irq 7. ok deraadt@ | |||
2007-06-24 | Crank initial storage for extents a bit. We really should allocate extents | Mark Kettenis | |
using malloc once vm is initialised, but this will do for now. ok deraadt@ | |||
2007-06-24 | Attach as console when appropriate. | Mark Kettenis | |
2007-06-20 | Add file such that a kernel with lpt at ssio actually compiles. | Mark Kettenis | |
2007-06-20 | b_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-20 | lpt at ssio | Mark Kettenis | |
2007-06-20 | In 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-19 | com at ssio | Mark Kettenis | |
2007-06-19 | Add ssio(4), a driver for the castrated National Semiconductor PC87560 | Mark Kettenis | |
Sucky SuperIO chip. For now it only provides support for the i8259-compatible PICs on the chip, but that support is necessary to make USB interrupts work. | |||
2007-06-18 | Lookup interrupt routing info based on elroy(4) bus number. | Mark Kettenis | |
Fix and simplify debug code that prints the interrupt routing info while I'm there. | |||
2007-06-18 | Don't use cpu_disklabel as local storage. Use local variables and discard | Kenneth R Westerback | |
the unneeded info when done with it. Another empty struct cpu_disklabel. ok deraadt@ | |||
2007-06-18 | simplify error return case from writedisklabel() | Theo de Raadt | |
2007-06-17 | Eliminate a few straggling 'labelsector' field declarations from | Kenneth R Westerback | |
cpu_disklabel's. 'labelsector' is not used anywhere according to grep. 'go for it' deraadt@ | |||
2007-06-17 | Get interrupt information from PDC and use it to program the IO SAPIC. | Mark Kettenis | |
Needed to make edge triggered interrupts work. | |||
2007-06-17 | significantly simplified disklabel infrastructure. MBR handling becomes MI | Theo 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-16 | astro(4)'s iommu does cache-coherent DMA. | Mark Kettenis | |
2007-06-16 | Add a few more registers. | Mark Kettenis | |
2007-06-16 | Enable iophy(4) for fxp(4). From brad. | Mark Kettenis | |
2007-06-14 | excessive blank lines making the versions different | Theo de Raadt | |
2007-06-14 | set the prototype disklabel to version 1 | Theo de Raadt | |
2007-06-14 | do not depend on previous loop variable, use a constant instead | Theo de Raadt | |
2007-06-09 | The 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-09 | unify DOSPTYP_FAT* code (some architectures missed a filesystem type or two) | Theo de Raadt | |
2007-06-09 | by 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-09 | annoying spacing glitch which makes the diffs bigger | Theo de Raadt | |
2007-06-08 | include files.bluetooth, so that bluetooth support can be compiled, | Jasper Lievisse Adriaanse | |
if enabled. ok gwk@ | |||
2007-06-08 | all disklabels read from the kernel now always contain a total sector | Theo de Raadt | |
size which is the REAL DISK SIZE. always. if a driver fails to set this right, please fix it. agreed with otto and krw | |||
2007-06-07 | Eliminate unnecessary duplicate defines *_LABELSECTOR and | Kenneth R Westerback | |
*_LABELOFFSET. Don't use osdep->labelsector since it will always be LABELSECTOR, since we don't support extended DOS partitions holding the OpenBSD disk label. No functional change. Now only Alpha and Vax bounds_check_with_label differ by more than comments. | |||
2007-06-07 | More bounds_check_with_label homogenization. Fix a couple of typos while | Kenneth R Westerback | |
there. 'so go to it!' deraadt@ | |||
2007-06-06 | now that all partition size/offsets are potentially 64-bit, change the | Theo 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-06 | a fair sprinking of knf, code movement, and sometimes character-by-character | Theo 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-05 | Use phys_map, not kernel_map in v{,un}mapbuf. ok mickey | Miod Vallat | |
2007-06-05 | use six new macros to access & store the 48-bit disklabel fields related | Theo 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-02 | Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than just | Kenneth R Westerback | |
convert version 0 to version 1 disklabels. Suggested by deraadt@. ok deraadt@ otto@ | |||
2007-06-01 | Infrastructure to allow root on wd0. | Miod Vallat | |
2007-06-01 | some architectures called setroot() from cpu_configure(), *way* before some | Theo 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-05-31 | Add Bluetooth drivers to GENERIC (not enabled - we still have ways to go) | Uwe Stuehler | |
ok gwk, deraadt | |||
2007-05-31 | KNF, whitespace and comment rectification to make all | Kenneth R Westerback | |
bounds_check_with_label() routines as identical as possible without changing any code. Code nits and adjustments to come. | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-31 | Standardize on -1 as the error return value for | Kenneth R Westerback | |
bounds_check_with_label. All callers check for <= 0, so no functional change. Feedback from miod@. ok weingart@ | |||
2007-05-29 | s/entrace/entrance (not obvious that the code was cut/paste =) | Jason Wright | |
2007-05-29 | start of dumpconf() unification, which one day we can pray will be MI | Theo de Raadt | |
(and part of setroot); ok miod | |||
2007-05-29 | Updated disklabel format to support larger disks and partitions. We | Otto 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-29 | Refactor readdisklabel() to ensure there is a single point of return, in | Kenneth R Westerback | |
preparation for translating all disk labels visible to the kernel to the soon to arrive V1 format. ok otto@ deraadt@ | |||
2007-05-29 | remove support for many alternative kernel choices -- only try /bsd and | Theo de Raadt | |
not the other stupid names. that feature was retarded. tested on a few architectures by a few people |