summaryrefslogtreecommitdiffstats
path: root/sys/conf/files.powerpc
Commit message (Collapse)AuthorAgeFilesLines
* Merge in support for PAPR-compliant (Power Architecture Platformnwhitehorn2013-09-171-0/+9
| | | | | | | | | | | | Requirements) systems from the projects/pseries branch. This in principle includes all IBM POWER hardware released in the last 15 years with the exception of POWER3-based systems when run in 64-bit mode. The main development target, however, has been the PAPR logical partition support that is the default target in KVM on POWER and QEMU -- mileage may vary on actual hardware at present. Much of the heavy lifting here was done by Andreas Tobler. Approved by: re (kib)
* Fix build.glebius2013-09-051-0/+1
|
* - Trim an unused and bogus Makefile for mount_smbfs.davide2013-06-281-1/+1
| | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
* Add basic support for FDT to i386 & amd64. This change includes:marcel2013-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | 1. Common headers for fdt.h and ofw_machdep.h under x86/include with indirections under i386/include and amd64/include. 2. New modinfo for loader provided FDT blob. 3. Common x86_init_fdt() called from hammer_time() on amd64 and init386() on i386. 4. Split-off FDT specific low-level console functions from FDT bus methods for the uart(4) driver. The low-level console logic has been moved to uart_cpu_fdt.c and is used for arm, mips & powerpc only. The FDT bus methods are shared across all architectures. 5. Add dev/fdt/fdt_x86.c to hold the fdt_fixup_table[] and the fdt_pic_table[] arrays. Both are empty right now. FDT addresses are I/O ports on x86. Since the core FDT code does not handle different address spaces, adding support for both I/O ports and memory addresses requires some thought and discussion. It may be better to use a compile-time option that controls this. Obtained from: Juniper Networks, Inc.
* MFP4 changes 222065 and 222068:brooks2013-04-301-1/+0
| | | | | | | Add a simplebus attachment for cfi(4)'s FDT support and move cfi_bus_fdt.c to sys/conf/files so non-ppc architectures are supported. Sponsored by: DARPA, AFRL
* wiigpio depends on options WII.rpaulo2013-04-241-1/+1
|
* Add the bus attachment for the embedded EHCI HC.marcel2012-11-031-0/+1
|
* Hoist the MI compat_freebsd32 files up into files from files.*.imp2012-10-251-7/+0
|
* Move common fdt into files. Duplicate in files.powerpc the filesimp2012-10-241-6/+6
| | | | | | shared with aim. Config is smart enough to cope with multiple lines of the same path with different options. This reduces the needless duplication.
* Make the Wii GPIO driver a separate device.rpaulo2012-10-211-1/+1
|
* Disconnect non-MPSAFE SMBFS from the build in preparation for droppingattilio2012-10-181-1/+1
| | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC.
* Initial support for running FreeBSD on the Nintendo Wii. We're able toadrian2012-08-211-0/+6
| | | | | | | | | | | | | | | | | | | reach single user mode using a memory disk device as the file system. This port includes the framebuffer driver, the PIC driver, a platform driver and the GPIO driver. The IPC driver (to talk to IOS kernels) is not yet written but there's a placeholder for it. There are still some MMU problems and to get a working system you need to patch locore32.S. Since we haven't found the best way yet to address that problem, we're not committing those changes yet. The problem is related to the different BAT layout on the Wii and to the fact that the Homebrew loader doesn't clean up the special registers (including the 8 BATs) before passing control to us. You'll need a Wii with Homebrew loader and a TV that can do NTSC (for now). Submitted by: Margarida Gouveia
* Add a new sound driver for PowerMacs, found here on my Quad G5.andreast2012-08-191-0/+1
| | | | | It allows simple playback and volume control like the other Mac drivers, not more.
* Add a new temperature driver for certain PowerMacs. Found here on my Quad G5.andreast2012-08-191-0/+1
|
* Add backlight support for nVidia-based PowerBooks/iBooks/iMacs.jhibbits2012-08-041-0/+1
| | | | | Approved by: nwhitehorn (mentor) MFC after: 9.1-RELEASE
* Add a driver for the Freescale FCM module in the localbus controller.marcel2012-07-031-0/+1
| | | | | | | | This driver does not yet handle multiple chip selects properly. Note that the NAND infrastructure does not perform full page reads or writes, which means that this driver cannot make use of the hardware ECC that is otherwise present.
* Implement mechanism to export some kernel timekeeping data tokib2012-06-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usermode, using shared page. The structures and functions have vdso prefix, to indicate the intended location of the code in some future. The versioned per-algorithm data is exported in the format of struct vdso_timehands, which mostly repeats the content of in-kernel struct timehands. Usermode reading of the structure can be lockless. Compatibility export for 32bit processes on 64bit host is also provided. Kernel also provides usermode with indication about currently used timecounter, so that libc can fall back to syscall if configured timecounter is unknown to usermode code. The shared data updates are initiated both from the tc_windup(), where a fast task is queued to do the update, and from sysctl handlers which change timecounter. A manual override switch kern.timecounter.fast_gettime allows to turn off the mechanism. Only x86 architectures export the real algorithm data, and there, only for tsc timecounter. HPET counters page could be exported as well, but I prefer to not further glue the kernel and libc ABI there until proper vdso-based solution is developed. Minimal stubs neccessary for non-x86 architectures to still compile are provided. Discussed with: bde Reviewed by: jhb Tested by: flo MFC after: 1 month
* Extract vendor specific Book-E pieces into separate files and have a commonraj2012-05-301-0/+1
| | | | | | | | skeleton (maybe we should kobj-tize this one day). Note the PPC4xx bit is not connected to the build yet. Obtained from: AppliedMicro, Semihalf.
* Let us manage differences of Book-E PowerPC variations i.e. vendor /raj2012-05-271-10/+10
| | | | | | | | | | | | implementation specific vs. the common architecture definition. Bring PPC4XX defines (PSL, SPR, TLB). Note the new definitions under BOOKE_PPC4XX are not used in the code yet. This change set is not supposed to affect existing E500 support, it's just another reorg step before bringing support for E500mc, E5500 and PPC465. Obtained from: AppliedMicro, Freescale, Semihalf
* Move OpenPIC FDT bus glue to a shared location, so that other PowerPCraj2012-05-261-1/+1
| | | | | | platforms can use it, not only MPC85XX. This is just reorg, no functional changes.
* Remove dead code. The routines in atomic.S did not work properly anyway, andnwhitehorn2012-04-221-1/+0
| | | | | | | were everywhere unused. If we turn out to need them, they should be reimplemented. MFC after: 2 weeks
* Allow (with a license warning) "options ZFS" to work in static kernels.peter2012-03-271-0/+3
| | | | | | | | | | | The 'make depend' rules have to use custom -I paths for the special compat includes for the opensolaris/zfs headers. This option will pull in the couple of files that are shared with dtrace, but they appear to correctly use the MODULE_VERSION/MODULE_DEPEND rules so loader should do the right thing, as should kldload. Reviewed by: pjd (glanced at)
* Add backlight control to ATI-graphics PowerBooks and iBooks.jhibbits2012-02-261-0/+1
| | | | | Approved by: nwhitehorn (mentor) MFC after: 1 week
* Missed file in r230993.nwhitehorn2012-02-041-0/+1
|
* Add support for special keys (volume/brightness/eject) on Apple laptops withnwhitehorn2011-10-161-0/+1
| | | | | | | ADB keyboards. Submitted by: Justin Hibbits <jrh29 at alumni dot cwru dot edu> MFC after: 9.0-RELEASE
* Add support for the Blu-Ray drive found in the Sony Playstation 3 and fixnwhitehorn2011-08-141-1/+1
| | | | | | | some realted minor bugs in PS3 internal storage support. Submitted by: glevand <geoffrey.levand@mail.ru> Approved by: re (bz)
* Add an OHCI driver to complement the EHCI one. The infrastructure to attachnwhitehorn2011-06-201-0/+1
| | | | | both to the parent ps3bus was in r223313. This driver itself comes from the ps3 project branch.
* Driver for PS3's internal hard disk. Hopefully this can be CAM-ified innwhitehorn2011-06-201-0/+1
| | | | | | | | the future, but presents a set of simple block devices for now. With (forthcoming) boot loader support or vfs.root.mountfrom, allows booting PS3s from disk. Submitted by: glevand <geoffrey.levand@mail.ru>
* Add new fan controller driver for the G4 MDD PowerMac. Submitted and testedandreast2011-06-041-0/+1
| | | | | | by Justin Hibbits. Approved by: nwhitehorn (mentor)
* Missed file in r222613.nwhitehorn2011-06-021-1/+4
|
* Add a new driver, the ad7417, to read temperatures and voltages on someandreast2011-05-291-0/+1
| | | | | | PowerMac's. Approved by: nwhitehorn (mentor)
* Factor out the SMU fan management code into a new module (powermac_thermal)nwhitehorn2011-05-281-0/+1
| | | | | | | that will connect all of the various sensors and fan control modules on Apple hardware with software-controlled fans (e.g. all G5 systems). MFC after: 1 month
* Compile in in_cksum* implementations for both IPv6 and IPv6.bz2011-04-201-1/+1
| | | | | | | | | | | | | | | While in_pseudo() etc. is often used in offloading feature support, in_cksum() is mostly used to fix some broken hardware. Keeping both around for the moment allows us to compile NIC drivers even in an IPv6 only environment without the need to mangle them with #ifdef INETs in a way they are not prepared for. This will leave some dead code paths that will not be exercised for IPv6. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days
* Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set().jkim2011-01-171-1/+0
| | | | | | | | | Compile sys/dev/mem/memutil.c for all supported platforms and remove now unnecessary dev_mem_md_init(). Consistently define mem_range_softc from mem.c for all platforms. Add missing #include guards for machine/memdev.h and sys/memrange.h. Clean up some nearby style(9) nits. MFC after: 1 month
* Import support for the Sony Playstation 3 using the OtherOS featurenwhitehorn2011-01-061-0/+9
| | | | | | | | | | | | available on firmwares 3.15 and earlier. Caveats: Support for the internal SATA controller is currently missing, as is support for framebuffer resolutions other than 720x480. These deficiencies will be remedied soon. Special thanks to Peter Grehan for providing the hardware that made this port possible, and thanks to Geoff Levand of Sony Computer Entertainment for advice on the LV1 hypervisor.
* Add an abstraction layer to the 64-bit AIM MMU's page table manipulationnwhitehorn2010-12-041-0/+2
| | | | | | | | | logic to support modifying the page table through a hypervisor. This uses KOBJ inheritance to provide subclasses of the base 64-bit AIM MMU class with additional methods for page table manipulation. Many thanks to Peter Grehan for suggesting this design and implementing the MMU KOBJ inheritance mechanism.
* Provide a simple IOMMU framework on PowerPC, which is required to supportnwhitehorn2010-12-031-0/+1
| | | | PPC hypervisors.
* Remove use of a separate ofw_pmap on 32-bit CPUs. Many Open Firmwarenwhitehorn2010-11-121-1/+1
| | | | | | | | | | mappings need to end up in the kernel anyway since the kernel begins executing in OF context. Separating them adds needless complexity, especially since the powerpc64 and mmu_oea64 code gave up on it a long time ago. As a side effect, the PPC ofw_machdep code is no longer AIM-specific, so move it to powerpc/ofw.
* Add a driver for the Apple Uninorth AGP host bridge found in all PowerPCnwhitehorn2010-10-311-0/+1
| | | | Macintoshes with an AGP bus.
* Add three new drivers for fan control and temperature reading on theandreast2010-10-151-0/+3
| | | | | | | | | | | | | | | | PowerMac7,2. - The fcu driver lets us read and write the fan RPMs for all fans in the PowerMac7,2. This driver is PowerMac specific. - The ds1775 is a driver to read the temperature for the drive bay sensor. - The max6690 is another driver to read temperatures. Here it is used to read the inlet, the backside and the U3 heatsink temperature. An additional driver, the ad7417, will follow later. Thanks to nwhitehorn for guiding me through this driver development. Approved by: nwhitehorn (mentor)
* Add a memory-range interface to /dev/mem on PowerPC using PAT attributes.nwhitehorn2010-10-031-0/+1
| | | | | | | | | Unlike actual MTRR, this only controls the mapping attributes for subsequent mmap() of /dev/mem. Nonetheless, the support is sufficiently MTRR-like that Xorg can use it, which translates into an enormous increase in graphics performance on PowerPC. MFC after: 2 weeks
* Update PowerPC event timer code to use new event timers infrastructure.mav2010-09-111-0/+1
| | | | | | Reviewed by: nwitehorn Tested by: andreast H/W donated by: Gheorghe Ardelean
* Restructure how reset and poweroff are handled on PowerPC systems, sincenwhitehorn2010-08-311-1/+1
| | | | | | | | | | | | | | | | | the existing code was very platform specific, and broken for SMP systems trying to reboot from KDB. - Add a new PLATFORM_RESET() method to the platform KOBJ interface, and migrate existing reset functions into platform modules. - Modify the OF_reboot() routine to submit the request by hand to avoid the IPIs involved in the regular openfirmware() routine. This fixes reboot from KDB on SMP machines. - Move non-KDB reset and poweroff functions on the Powermac platform into the relevant power control drivers (cuda, pmu, smu), instead of using them through the Open Firmware backdoor. - Rename platform_chrp to platform_powermac since it has become increasingly Powermac specific. When we gain support for IBM systems, we will grow a new platform_chrp.
* FPU EMU is 32-bit only for now, so mark it as a powerpc-only feature.nwhitehorn2010-08-201-9/+9
| | | | This fixes powerpc64 LINT.
* Add support for the IBM Full-System Simulator (Mambo). This code has beennwhitehorn2010-07-311-0/+5
| | | | developed against the 970 and Cell simulators.
* MFppc64:nwhitehorn2010-07-131-15/+26
| | | | | | | Kernel sources for 64-bit PowerPC, along with build-system changes to keep 32-bit kernels compiling (build system changes for 64-bit kernels are coming later). Existing 32-bit PowerPC kernel configurations must be updated after this change to specify their architecture.
* Unify ABI-related bits of the Book-E and AIM machdep routinesnwhitehorn2010-07-121-0/+1
| | | | | | | | (exec_setregs, etc.) in order to simplify the addition of 64-bit support, and possible future extension of the Book-E code to handle hard floating point and Altivec. MFC after: 1 month
* Convert Freescale PowerPC platforms to FDT convention.raj2010-07-111-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | The following systems are affected: - MPC8555CDS - MPC8572DS This overhaul covers the following major changes: - All integrated peripherals drivers for Freescale MPC85XX SoC, which are currently in the FreeBSD source tree are reworked and adjusted so they derive config data out of the device tree blob (instead of hard coded / tabelarized values). - This includes: LBC, PCI / PCI-Express, I2C, DS1553, OpenPIC, TSEC, SEC, QUICC, UART, CFI. - Thanks to the common FDT infrastrucutre (fdtbus, simplebus) we retire ocpbus(4) driver, which was based on hard-coded config data. Note that world for these platforms has to be built WITH_FDT. Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Add a driver for the CPU temperature sensors attached over I2C on thenwhitehorn2010-06-051-0/+1
| | | | PowerMac 11,2.
* Add support for the U4 PCI-Express bridge chipset used in late-generationnwhitehorn2010-05-161-1/+2
| | | | | | | | | | Powermac G5 systems. MSI and several other things are not presently supported. The U3/U4 internal device support portions of this change were contributed by Andreas Tobler. MFC after: 1 week
OpenPOWER on IntegriCloud