aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/options.sparc64
Commit message (Collapse)AuthorAgeFilesLines
* - While Netra X1 generally show no ill effects when registering a powerMarius Strobl2013-03-021-1/+0
| | | | | | | | | | | | | | | | | | | | fail interrupt handler, there seems to be either a broken batch of them or a tendency to develop a defect which causes this interrupt to fire inadvertedly. Given that apart from this problem these machines work just fine, add a tunable allowing the setup of the power fail interrupt to be disabled. While at it, remove the DEBUGGER_ON_POWERFAIL compile time option and make that behavior also selectable via the newly added tunable. - Apparently, it's no longer a problem to call shutdown_nice(9) from within an interrupt filter (some other drivers in the tree do the same). So change the power fail interrupt from an handler in order to simplify the code and get rid of a !INTR_MPSAFE handler. - Use NULL instead of 0 for pointers. MFC after: 1 week Notes: svn path=/head/; revision=247600
* Add a driver for the `Fire' JBus to PCIe bridges found in at leastMarius Strobl2009-12-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the Sun Fire V215/V245 and Sun Ultra 25/45 machines. This driver also already includes all the code to support the `Oberon' Uranus to PCIe bridges found in the Fujitsu-Siemens based Mx000 machines but due to lack of access to such a system for testing, probing of these bridges is currently disabled. Unfortunately, the event queue mechanism of these bridges for MSIs/ MSI-Xs matches our current MD and MI interrupt frameworks like square pegs fit into round holes so for now we are generous and use one event queue per MSI, which limits us to 35 MSIs/MSI-Xs per Host-PCIe-bridge (we use one event queue for the PCIe error messages). This seems tolerable as long as most devices just use one MSI/MSI-X anyway. Adding knowledge about MSIs/MSI-Xs to the MD interrupt code should allow us to decouple the 1:1 mapping at the cost of no longer being able to bind MSIs/MSI-Xs to specific CPUs as we currently have no reliable way to quiesce a device during the transition of its MSIs/ MSI-Xs to another event queue. This would still require the problem of interrupt storms generated by devices which have no one-shot behavior or can't/don't mask interrupts while the filter/handler is executed (like the older PCIe NICs supported by bge(4)) to be solved though. Committed from: 26C3 Notes: svn path=/head/; revision=201052
* Add a driver for `Schizo' Fireplane/Safari to PCI 2.1 and `Tomatillo'Marius Strobl2008-09-281-0/+2
| | | | | | | | | JBus to PCI 2.2 bridges. In theory, this driver should also handle `XMITS' Fireplane/Safari to PCI-X bridges but due to lack of access to such hardware, support for these hasn't be fleshed out, yet. Notes: svn path=/head/; revision=183423
* Revert this part of r183203 which wasn't meant to be committed, yet.Marius Strobl2008-09-201-2/+0
| | | | Notes: svn path=/head/; revision=183204
* Remove duplicate entry accidentally introduced with r183202.Marius Strobl2008-09-201-0/+2
| | | | Notes: svn path=/head/; revision=183203
* cosmetic changes and style fixesMarius Strobl2008-08-221-8/+14
| | | | Notes: svn path=/head/; revision=182020
* - In sunkbd_probe_keyboard() don't bother to determine the keyboard layoutMarius Strobl2006-11-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as we have no use for that info. Instead let this function return the keyboard ID and verify at its invocation in sunkbd_configure() that we're talking to a Sun type 4/5/6 keyboard, i.e. a keyboard supported by this driver. - Add an option SUNKBD_EMULATE_ATKBD whose code is based on the respective code in ukbd(4) and like UKBD_EMULATE_ATSCANCODE causes this driver to emit AT keyboard/KB_101 compatible scan codes in K_RAW mode as assumed by kbdmux(4). Unlike UKBD_EMULATE_ATSCANCODE, SUNKBD_EMULATE_ATKBD also triggers the use of AT keyboard maps and thus allows to use the map files in share/syscons/keymaps with this driver at the cost of an additional translation (in ukbd(4) this just is the way of operation). - Implement an option SUNKBD_DFLT_KEYMAP, which like the equivalent options of the other keyboard drivers allows to specify the default in-kernel keyboard map. For obvious reasons this made to only work when also using SUNKBD_EMULATE_ATKBD. - Implement sunkbd_check(), sunkbd_check_char() and sunkbd_clear_state(), which are also required for interoperability with kbdmux(4). - Implement K_CODE mode and FreeBSD keypad compose. - As a minor hack define KBD_DFLT_KEYMAP also in the !SUNKBD_EMULATE_ATKBD case so we can obtain fkey_tab from <dev/kbd/kbdtables.h> rather than having to duplicate it and #ifdef some more code. - Don't use the TX-buffer for writing the two command bytes for setting the keyboard LEDs as this consequently requires a hardware FIFO that is at least two bytes in depth, which the NMOS-variant of the Zilog SCCs doesn't have. Thus use an inlined version of uart_putc() to consecutively write the command bytes (a cleaner approach would be to do this via the soft interrupt handler but that variant wouldn't work while in ddb(4)). [1] - Fix some minor style(9) bugs. PR: 90316 [1] Reviewed by: marcel [1] Notes: svn path=/head/; revision=163890
* - Hook up atkbdc(4), atkbd(4) and psm(4) to the sparc64 build, notMarius Strobl2005-06-101-0/+5
| | | | | | | | | enabled in GENERIC by default, yet. - While here remove the exclusion of ukbd(4) from the sparc64 NOTES as ukbd(4) compiles and works on sparc64. Notes: svn path=/head/; revision=147272
* For sparc64 conditionalize the compilation of the gfb_cursor() variantMarius Strobl2005-05-211-2/+0
| | | | | | | | | | which doesn't assume a hardware cursor on __sparc64__ rather than on DEV_CREATOR. If we want to include more than one framebuffer driver in e.g. the GENERIC kernel all drivers have to work the same way. Now that DEV_CREATOR is no longer used remove it from options.sparc64. Notes: svn path=/head/; revision=146472
* Better OFW console support on Sun Ultra2 machines.David E. O'Brien2004-06-241-0/+1
| | | | | | | | | | | | Ultra2 users may want to set OFWCONS_POLL_HZ to a value of '20'. I have left default value at '4' as higher values can consume a more than is acceptable amount of CPU, and we don't have a consensus yet what is an optimal value. Submitted by: Pyun YongHyeon <yongari@kt-is.co.kr> Notes: svn path=/head/; revision=131016
* - Remove the old sparc64 OFW PCI code (as opposed to the formerMarius Strobl2004-05-081-1/+0
| | | | | | | | | | | | | | | | "options OFW_NEWPCI"). This is a bit overdue, the new sparc64 OFW PCI code which is meant to replace the old one is in place for 10 months and enabled by default in GENERIC for 8 months. FreeBSD 5.2 and 5.2.1 also shipped with the new code enabled by default. - Some minor clean-up, e.g. remove functions that encapsulated the #ifdefs for OFW_NEWPCI, remove unused resp. no longer required includes, etc. Approved by: tmm, no objections on freebsd-sparc64 Notes: svn path=/head/; revision=129051
* Remove the EBUS_DEBUG and IOMMU_DEBUG options, which are not used anyThomas Moestl2004-04-301-3/+0
| | | | | | | more. Notes: svn path=/head/; revision=128759
* Hook syscons and the creator driver up to the sparc64. This compiles butJake Burkholder2003-08-241-0/+6
| | | | | | | will not link due to missing keyboard drivers. Notes: svn path=/head/; revision=119382
* Add the new sparc64 OFW PCI framework, conditional on options OFW_NEWPCIThomas Moestl2003-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for now. It introduces a OFW PCI bus driver and a generic OFW PCI-PCI bridge driver. By utilizing these, the PCI handling is much more elegant now. The advantages of the new approach are: - Device enumeration should hopefully be more like on Solaris now, so unit numbers should match what's printed on the box more closely. - Real interrupt routing is implemented now, so cardbus bridges etc. have at least a chance to work. - The quirk tables are gone and have been replaced by (hopefully sufficient) heuristics. - Much cleaner code. There was also a report that previously bogus interrupt assignments are fixed now, which can be attributed to the new heuristics. A pitfall, and the reason why this is not the default yet, is that it changes device enumeration, as mentioned above, which can make it necessary to change the system configuration if more than one unit of a device type is present (on a system with two hme cars, for example, it is possible that hme0 becomes hme1 and vice versa after enabling the option). Systems with multiple disk controllers may need to be booted into single user (and require manual specification of the root file system on boot) to adjust the fstab. Nevertheless, I would like to encourage users to use this option, so that it can be made the default soon. In detail, the changes are: - Introduce an OFW PCI bus driver; it inherits most methods from the generic PCI bus driver, but uses the firmware for enumeration, performs additional initialization for devices and firmware-specific interrupt routing. It also implements an OFW-specific method to allow child devices to get their firmware nodes. - Introduce an OFW PCI-PCI bridge driver; again, it inherits most of the generic PCI-PCI bridge driver; it has it's own method for interrupt routing, as well as some sparc64-specific methods (one to get the node again, and one to adjust the bridge bus range, since we need to reenumerate all PCI buses). - Convert the apb driver to the new way of handling things. - Provide a common framework for OFW bridge drivers, used be the two drivers above. - Provide a small common framework for interrupt routing (for all bridge types). - Convert the psycho driver to the new framework; this gets rid of a bunch of old kludges in pci_read_config(), and the whole preinitialization (ofw_pci_init()). - Convert the ISA MD part and the EBus driver to the new way interrupts and nodes are handled. - Introduce types for firmware interrupt properties. - Rename the old sparcbus_if to ofw_pci_if by repo copy (it is only required for PCI), and move it to a more correct location (new support methodsx were also added, and an old one was deprecated). - Fix a bunch of minor bugs, perform some cleanups. In some cases, I introduced some minor code duplication to keep the new code clean, in hopes that the old code will be unifdef'ed soon. Reviewed in part by: imp Tested by: jake, Marius Strobl <marius@alchemy.franken.de>, Sergey Mokryshev <mokr@mokr.net>, Chris Jackman <cjackNOSPAM@klatsch.org> Info on u30 firmware provided by: kris Notes: svn path=/head/; revision=117119
* Remove the PSYCHO_STRAY option - it was never really useful. Adjust aThomas Moestl2003-06-121-1/+0
| | | | | | | | nearby comment. PSYCHO_DEBUG remains, as it is quite useful for debugging interrupt routing problems. Notes: svn path=/head/; revision=116259
* Move SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME into the MI options file, sinceJuli Mallett2002-11-181-3/+0
| | | | | | | | | | MI code uses them, and every platform provides them (except x86_64 whose options file was lacking one). Reviewed by: bde, rwatson Notes: svn path=/head/; revision=107043
* Add a DEBUGGER_ON_POWERFAIL option. This makes the power button on ultra 10sJake Burkholder2002-03-131-0/+1
| | | | | | | work like an NMI button. Notes: svn path=/head/; revision=92212
* Add PMAP_STATS option so pmap.c compiles.Jake Burkholder2002-02-231-0/+1
| | | | Notes: svn path=/head/; revision=91180
* Add entries for the recently committed code.Thomas Moestl2001-11-091-0/+9
| | | | Notes: svn path=/head/; revision=86235
* Add a Makefile, ldscript, and config magic for sparc64. This is tailoredJake Burkholder2001-08-031-0/+6
to build with a cross compiler alongside the standard compiler; it would be more desirable to build in a chroot. Notes: svn path=/head/; revision=81084