summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2006-05-29fetch the beep clock frequency (we'll need it to compute the audio frequency ↵Jason Wright
later)
2006-05-28placeholder driver for the bbc,beep device. should be straightforwardJason Wright
to fill in later.
2006-05-28make sure the IMR values are visible when we drop back into the promJason Wright
2006-05-28oops, nuke debugging stuffJason Wright
2006-05-28- Implement schizo_intr_map (mainly to | in the agentid).Jason Wright
- get correct IGN for intr_establish all of this is from kettenis and henric, I'm just cleaning it up and committing the easy bits
2006-05-28Can't call directly back into the prom if we "exit" at the rootJason Wright
device prompt. We need to call shutdownhooks which will set the sab back into the mode the prom likes (I hate this chip)
2006-05-28- if the "upa-portid" property doesn't exist, try "portid" (schizo)Jason Wright
- hack enough of autoconf to get psycho and schizo working with device_register (autoconf appears to work now for schizo machines).
2006-05-28make the ISR bits visible so we can poll them in cngetc (w/out cnpollc).Jason Wright
I still hate this chip.
2006-05-28don't hardcode the iova... it uses the same scheme as the sbus machinesJason Wright
(cd0 at scsibus0 at siop0 now attaches on the blade2k)
2006-05-28formattingJason Wright
2006-05-28intrducing device type DV_SENSOR turned out to be a bad idea as itHenning Brauer
affects way more than just hotplug messages. remove DV_SENSOR and use DV_DULL for the moment. proper solution coming. discussed with deraadt mk jason
2006-05-28more hotplug fallout: add DV_SENSOR to the device type switchJason Wright
2006-05-27add mpi(4) glue. commented out for nowDavid Gwynne
2006-05-20Put explicit barriers in in-line spl functions.Miod Vallat
2006-05-15Fix SIGFPE handling. The code doing an ADVANCE after calling trapsignal(),Mark Kettenis
which made is skip the first instruction of the signal trampoline in certain cases. That in turn truly hosed the stack. ok miod@, jason@
2006-05-15Merge creator attachment code again, it turns out the upa/mainbus attachmentMiod Vallat
code split is not necessary after all; ok jason@
2006-05-14Make the array of fpu exception types/codes big enough.Mark Kettenis
Fix a typo too, such that we actually read beyond element 0 in all cases. ok miod@
2006-05-14- /usr/mdec is usually not in path, invoke installboot with full pathMartin Reindl
- /ofwboot does not get updated by installboot as one might think from the example, it has to be copied in place by hand - Xr. boot(8) ok jmc@
2006-05-07Missing license block; from art@Miod Vallat
2006-04-29fix build after timestamping addition; sparc pointed out by pvalchev@Christian Weisgerber
2006-04-272 lines of code to support tty timestampsTheo de Raadt
2006-04-16Remove code from an old (broken) diff of mine, which crept in in last commit.Miod Vallat
2006-04-09On macppc and sparc64, if allowaperture=0 only allow mmap()-ing ofMatthieu Herrb
the framebuffer memory in WSDISPLAYIO_MODE_DUMBFB mode.
2006-04-09Rewrite bus_compatible() to allow one alias to expand to several drivers,Miod Vallat
and in this case pick the one which matches the driver we are currently attaching, if any; allows systems netbooted via gem interfaces to recognize their boot device, and solves PR #5058.
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-24- Set the PCI latency timer for bus master devices.Brad Smith
- Turn on parity checking for the PCI bus. From NetBSD Tested on U5/U10/U30/Netra X1/T1 105/Leopard-V
2006-03-23Extra parentheses in comments.Ray Lai
From Alexey Dobriyan. OK miod@ and otto@
2006-03-19rev 1.86Brad Smith
make the "generic" PCI bus enumeration code the standard case which gets used if nothing else is defined in MD headers, introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can be used by MD headers (just 1 port atm) to plug in special code rev 1.62 * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). rev 1.59 Split the code that enumerates the PCI bus and that actually probes for a device into two functions: * pci_probe_device() actually probes/attaches the device specified by the provide pcitag_t. * pci_enumerate_bus() enumerates the bus, and calls pci_probe_device() for each device on the bus. A pci_enumerate_bus_generic() is provided which implements the old method of doing this: If something found at dev0/func0, determine number of functions and probe each one. From NetBSD ok kettenis@ Tested on a good number of amd64/i386/macppc/sparc64 systems
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-15use sysctl_int_lower() for the aperture variable. This lets root closeTheo de Raadt
the aperture without having to reboot, but does not allow re-opening; ok matthieu
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-13* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set toBrad Smith
NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. From NetBSD ok grange@ kettenis@
2006-03-12Previous fix was half-done, move the wsscreen_list array into the softcMiod Vallat
as well.
2006-03-12When attaching a wsdisplay, the wsscreen_list structure can not be on theMiod Vallat
stack; found the hard way by Stefano <stefano@merlinobbs.net>.
2006-03-12remove splimp.Brad Smith
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-03-04<sparc64/dev/upavar.h> is unused except for struct upa_reg for autoconf, soMiod Vallat
move it to <machine/autoconf.h>.
2006-03-04creator needs rasops32 only, and vgafb never needs rasops24.Miod Vallat
2006-03-04add art(4) here.Brad Smith
2006-02-25Put quotation marks around names of unconfigured devices.Mark Kettenis
ok deraadt@
2006-02-22Remove unused probeset() function.Miod Vallat
2006-02-22Remove long unused ELF{32,64}_MACHDEP macros.Miod Vallat
2006-02-16pcscp(4) worksMartin Reindl
ok brad@, miod@
2006-02-10driver for Philips PCF8591 I2C ADC sensor. Because of the mindlessnessDamien Miller
of this chip, it is impossible to probe for and we need to be told where it is and how to understand its output. We get this information from openfirmware, but this restricts the use of the driver to sparc64 for now. Only sensors that OFW identifies as temperature sensors are supported at present. prodded by dlg@ "get it in" deraadt@
2006-02-09split the ofw scan up into two parts: one to find the i2c bus on a pciDavid Gwynne
device, and one to find i2c devices on the i2c bus. tweaks and ok kettenis@ ok djm@
2006-02-08add a member to the i2c_attach args so that a controller can pass aDavid Gwynne
cookie down to the device. the most obvious use of this is to pass a device its ofw node on sparc64 and macppc so it can configure itself more appropriately. ok kettenis@ henning@ deraadt@
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-02-05Commit uncommitted bit from 2006/01/03 change to locore.s:Mark Kettenis
Try to prevent red stating the machine on a misaligned user space stack by SIGKILLing the process. ok miod@, henric@
2006-02-01oopsDavid Gwynne
2006-02-01a driver for the phillips pcf8584 i2c controller as found on the sun netraDavid Gwynne
t1 105. tested by henning@ djm@ ok kettenis@ put it in deraadt@