Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-14 | Deal with the fact that we need to control an external PHY attached to TSEC2 | Mark Kettenis | |
through the registers of TSEC1. Makes the first ethernet port on the rb600 usable. | |||
2009-09-12 | Catch up with recent changes to GENERIC. | Mark Kettenis | |
2009-09-12 | Compensate for the fact the the FDT uses a different offset for the registers | Mark Kettenis | |
than the hardcoded ones we used before. Replace a few magic numbers with #defines while I'm there. Based on suggestions from dms@. | |||
2009-09-12 | Initialize global pointer to interrupt controller softc earlier such that we | Mark Kettenis | |
don't crash if we unmask a preconfigured interrupt. | |||
2009-09-11 | bump version | Dariusz Swiderski | |
suggested by maja@, ok by kettenis@ | |||
2009-09-11 | add 'machine fdt' command that dumps device tree if present | Dariusz Swiderski | |
ok by kettenis@ | |||
2009-09-09 | Use information from the FDT to set up bus tags and extents. | Mark Kettenis | |
2009-09-07 | The bright folks who designed the rb600 seem to have left out an RTC. So | Mark Kettenis | |
don't complain if no TOD clock handle has been registered. | |||
2009-09-07 | Bring support for booting RB600. | Dariusz Swiderski | |
Imported FDT parsing code, implemented wdc_obio driver to support booting of CF cards. If FDT is available initialize console and wdc_obio accordingly and pass it later to the kernel. Unified the code with Thecus boot code, so that we can use one boot image. The whole boot code is now compiled with -msoft-float. Bump version while there. tested on Thecus by maja@ and kettenis@ tested on RB600 by dlg@ and me ok by kettenis@ | |||
2009-09-06 | Attach devices to obio(4) based on information from the flattened device | Mark Kettenis | |
tree. Since that information is also used for the PCI interrupts, devices in mini-PCI slots should work now as well, at least in the rb600. | |||
2009-09-06 | Implement OF_getproplen(). | Mark Kettenis | |
2009-09-02 | Attach devices to mainbus(4) based on information from the flattened device | Mark Kettenis | |
tree. | |||
2009-09-02 | Add a minimal set of OpenFirmware compatibility interfaces. | Mark Kettenis | |
ok dms@ | |||
2009-08-30 | Link in the flattened device tree for the Thecus N1200 and register it with | Mark Kettenis | |
the ftd code upon boot if the firmware didn't provide a device tree. | |||
2009-08-30 | Flattened device tree blob for the Thecus N1200. The source from which the | Mark Kettenis | |
blob is created is included but you'll need the Linux device tree compiler to create it. The following command line was use for the conversion: $ dtc -V 16 -O asm -o n1200_dts.S n1200.dts | |||
2009-08-29 | typos in comments | Miod Vallat | |
2009-08-27 | Harmless sizeof ptr bug in ppc_check_procid(); ok drahn@ kettenis@ | Miod Vallat | |
2009-08-27 | malloc() last two args were swapped, amazing things did not break; ok kettenis@ | Miod Vallat | |
2009-08-26 | Kernel config for the RB600. Temporary until we use the device tree to | Mark Kettenis | |
attach all devices. | |||
2009-08-26 | Hack to get the right interrupt pin for the onboard vge(4) on the RB600. | Mark Kettenis | |
I'll fix this properly when we use the device tree to configure the pci bus. | |||
2009-08-26 | Build fake bootinfo structure based on the device tree. | Mark Kettenis | |
Inspired by a diff from dms@. | |||
2009-08-26 | Use comconsfreq instead of hardcoded frequency. Still a bit of a hack, but | Mark Kettenis | |
this lets me run the RB600 at 400MHz. | |||
2009-08-26 | Override comconsfreq and comconsaddr with values from the FTD if provided. | Mark Kettenis | |
2009-08-26 | Change fdt_find_node() such that it takes a full path as argument. | Mark Kettenis | |
ok dms@ | |||
2009-08-25 | Add missing $OpenBSD$ tag. | Mark Kettenis | |
2009-08-25 | Initialize flattened device tree support if a tree was passed by the firmware. | Mark Kettenis | |
2009-08-25 | Save the (potential) address of the flattened device tree. Make sure we don't | Mark Kettenis | |
clobber %r3 before we do so. Based on a diff from dms@ | |||
2009-08-25 | Set up bus tag for mmio. Create extents corresponding to the bus tags and | Mark Kettenis | |
pass them along when attaching the pci bus. | |||
2009-08-25 | Add parser for 'Flattened Device Tree' which was introduced in | Dariusz Swiderski | |
bootloaders such as u-boot, which is generally a simplified memory dump of an OpenFirmware device tree. Tested on RB600 by me. This is not used in the code ATM. ok kettenis@ | |||
2009-08-24 | Specify proper size for device softc. | Mark Kettenis | |
2009-08-24 | Glue to deal with the retarded way the CF slots are wired up on the RB600. | Mark Kettenis | |
2009-08-24 | Add missing ehci dependency. | Mark Kettenis | |
2009-08-22 | Constify the what/name parameter of pci_intr_establish(). | Michael Knudsen | |
Tested by myself, sthen, oga, kettenis, and jasper. Input from sthen and jasper. ok kettenis (Manpage follows shortly.) | |||
2009-08-18 | Disable address translation. Necessary on the RB600 where the firmware starts | Mark Kettenis | |
running us with address translation enabled. Lifted from a diff from dms@, tested on the Thecus N1200 by me. | |||
2009-08-17 | fix readdpmelabel() declaration since the definition was changed | Dariusz Swiderski | |
from returning char* to int, last char* return removed as well (cleanup after deraadt@ commit, it compiles now) while there initialize hfspartend to some sane value (sync with macppc version) ok kettenis@ | |||
2009-08-13 | Replace the error strings that were being passed around with much simpler | Theo de Raadt | |
errnos. Note that the error strings are being ignored, since we long ago decided to not spam the console, and there is no other nice way to use the errors (without changing the ioctls to pass it back) The errno is now useful, since we can pass b_error from failing IO up, and the drive can decide how to use that ok miod | |||
2009-08-13 | wire vscsi up to a cdev | David Gwynne | |
for claudio@ ok deraadt@ | |||
2009-08-13 | - set DV_IFNET, instead of DV_NULL | Jasper Lievisse Adriaanse | |
ok kettenis@ | |||
2009-08-11 | Do not bother initializing bufpages in the md code if the computation is | Miod Vallat | |
exactly the same the mi could will use if bufinit() is invoked with bufpages == 0. | |||
2009-08-11 | With the SysV memory allocation changes, allocsys() doesn't do anything | Miod Vallat | |
anymore. Get rid of it completely. | |||
2009-08-09 | Introduce option DDB_STRUCT. Kernels compiled with this option (except on | Miod Vallat | |
a few arches where toolchain limitations apply) will embed some symbolic information about the various structs used within the kernel, and have new ddb commands allowing struct display and some useful information gathering. Kernel rodata increase varies accross platforms from ~150KB to ~300KB. This option is not enabled by default. | |||
2009-08-09 | No need to clean genassym{.,o} during `make clean', genassym.sh does this | Miod Vallat | |
for us. | |||
2009-08-09 | MCLGETI() will now allocate a mbuf header if it is not provided, thus | Theo de Raadt | |
reducing the amount of splnet/splx dancing required.. especially in the worst case (of m_cldrop) ok dlg kettenis damien | |||
2009-08-09 | Rototill system V message queues. | Bret Lambert | |
No longer allocate a static amount of memory for messages in MD boot path; message queues, message metadata, and message data now all use dynamic memory, which means that runtime sysctls should now be trivial to implement. Since I'm going to be around all week to fix any breakage, this should probably just go in now. | |||
2009-08-02 | Dynamic buffer cache support - a re-commit of what was backed out | Bob Beck | |
after c2k9 allows buffer cache to be extended and grow/shrink dynamically tested by many, ok oga@, "why not just commit it" deraadt@ | |||
2009-07-30 | Get rid of the obsolet BUS_BARRIER_xxx constants for bus_space_barrier(), only | Miod Vallat | |
provide and use BUS_SPACE_BARRIER_xxx. | |||
2009-07-26 | Make sure all platforms understand the flags argument of bus_space_map() and | Miod Vallat | |
bus_space_alloc() as a bitmask of flags, and not a boolean controlling cacheability; and make sure the three MI BUS_SPACE_MAP_xxx values documented in the manual page are defined on all platforms as well. | |||
2009-06-19 | They're DPME partitions, not DPMI partitions. | Kenneth R Westerback | |
ok miod@ drahn@ | |||
2009-06-15 | Back out all the buffer cache changes I committed during c2k9. This reverts ↵ | Bob Beck | |
three commits: 1) The sysctl allowing bufcachepercent to be changed at boot time. 2) The change moving the buffer cache hash chains to a red-black tree 3) The dynamic buffer cache (Which depended on the earlier too). ok on the backout from marco and todd | |||
2009-06-14 | Don't mess with the bounds in the lp if *partoffp is non-NULL, since this | Theo de Raadt | |
indicates that writedisklabel is trying to find the location for writing the label. If the lp is messed with, an invalid checksum is written. done with miod and kettenis, lots of moaning and gnashing of teeth, etc |