Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-27 | Fix interrupt mapping. This now seems to work on all machines, even with | Mark Kettenis | |
pci cards that have a pci-pci bridge and lack fcode. tested by many, ok jason@, dlg@ | |||
2006-06-27 | don't bother printing "{se}bus: %s incomplete" for devices missing a reg | Jason Wright | |
property. They're not interesting. | |||
2006-06-23 | match tomatillo varient (not yet fully working) | Theo de Raadt | |
2006-06-22 | BBC-based machines swap the two registers (good going Sun -- that is why we | Theo de Raadt | |
don't get documentation, right?), and the clock fed into the chip can vary from model to model; help & testing from dlg | |||
2006-06-21 | if machdep.kbdreset==1 and the front panel button interrupt fires, tell init | Jason Wright | |
that it's time to go sleepy-bye. | |||
2006-06-16 | documentation on the register | Jason Wright | |
2006-06-16 | skeleton driver for power button on u5.. does precisely nothing except attach. | Jason Wright | |
Will hook it into the right places this weekend (and put it into GENERIC and write a man page when it does something useful). | |||
2006-06-14 | support the iic busses on the ultrasparc III machines (something is still | Theo de Raadt | |
wrong, likely clocking); tested to not break older machines by dlg & djm | |||
2006-06-02 | sbus_establish() and the associated linked list in the sbus softc is now only | Miod Vallat | |
used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits. | |||
2006-06-02 | turn the non-DEBUG case of DPRINTF into a do {} while (0) so it works | Jason Wright | |
more or less as expected (and removes the need to a stupid #ifdef) | |||
2006-06-02 | - clear the PCI_AFSR during init | Jason Wright | |
- set up the interrupts more correctly - print errors nicer | |||
2006-06-02 | correct bits for bus type in PCIAFSR | Jason Wright | |
2006-06-02 | ppm driver. We don't use it for much... except to blink the power switch ↵ | Jason Wright | |
led. woot! | |||
2006-06-02 | bits bits bits, who got dat bits | Jason Wright | |
2006-06-01 | latch the AFSR/AFAR -before- reading the PCI control/status register | Jason Wright | |
2006-06-01 | do a better job of setting up the PBM. Doesn't fix the PIO faults we're | Jason Wright | |
seeing, I"m not convinced they're fixable any more. | |||
2006-06-01 | - stop using magic constants for the onboard error INOs (one was wrong anyway) | Jason Wright | |
- setup pci error interrupts and do an interpretive dance with the registers | |||
2006-06-01 | add bit defns for [UE]FAR | Jason Wright | |
2006-06-01 | enable error interrupts and install handlers for same (the handlers don't do ↵ | Jason Wright | |
much yet) | |||
2006-05-30 | Sync region detection algorithm with macppc, helps some recent cards, such | Miod Vallat | |
as 3DLabs Permedia and Intergraph Expert3D. Also, if no mmio region is found, attach anyway, this only prevents accelerated X11 from starting. | |||
2006-05-29 | implement frequency setting for the beep. It also beeps for one second | Jason Wright | |
during boot (this is annoying, I know... I'll hook it up to the keyboard handler later). | |||
2006-05-29 | fetch the beep clock frequency (we'll need it to compute the audio frequency ↵ | Jason Wright | |
later) | |||
2006-05-28 | placeholder driver for the bbc,beep device. should be straightforward | Jason Wright | |
to fill in later. | |||
2006-05-28 | make sure the IMR values are visible when we drop back into the prom | Jason Wright | |
2006-05-28 | oops, nuke debugging stuff | Jason 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-28 | make the ISR bits visible so we can poll them in cngetc (w/out cnpollc). | Jason Wright | |
I still hate this chip. | |||
2006-05-28 | don't hardcode the iova... it uses the same scheme as the sbus machines | Jason Wright | |
(cd0 at scsibus0 at siop0 now attaches on the blade2k) | |||
2006-05-15 | Merge creator attachment code again, it turns out the upa/mainbus attachment | Miod Vallat | |
code split is not necessary after all; ok jason@ | |||
2006-04-29 | fix build after timestamping addition; sparc pointed out by pvalchev@ | Christian Weisgerber | |
2006-04-27 | 2 lines of code to support tty timestamps | Theo de Raadt | |
2006-04-16 | Remove code from an old (broken) diff of mine, which crept in in last commit. | Miod Vallat | |
2006-04-09 | On macppc and sparc64, if allowaperture=0 only allow mmap()-ing of | Matthieu Herrb | |
the framebuffer memory in WSDISPLAYIO_MODE_DUMBFB mode. | |||
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-19 | rev 1.86 | Brad 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-15 | Nuke dk_establish(), no longer used. | Miod Vallat | |
2006-03-13 | * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to | Brad 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-12 | Previous fix was half-done, move the wsscreen_list array into the softc | Miod Vallat | |
as well. | |||
2006-03-12 | When attaching a wsdisplay, the wsscreen_list structure can not be on the | Miod Vallat | |
stack; found the hard way by Stefano <stefano@merlinobbs.net>. | |||
2006-03-04 | <sparc64/dev/upavar.h> is unused except for struct upa_reg for autoconf, so | Miod Vallat | |
move it to <machine/autoconf.h>. | |||
2006-02-25 | Put quotation marks around names of unconfigured devices. | Mark Kettenis | |
ok deraadt@ | |||
2006-02-10 | driver for Philips PCF8591 I2C ADC sensor. Because of the mindlessness | Damien 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-09 | split the ofw scan up into two parts: one to find the i2c bus on a pci | David Gwynne | |
device, and one to find i2c devices on the i2c bus. tweaks and ok kettenis@ ok djm@ | |||
2006-02-08 | add a member to the i2c_attach args so that a controller can pass a | David 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-06 | typos from alexey dobriyan; | Jason McIntyre | |
2006-02-01 | oops | David Gwynne | |
2006-02-01 | a driver for the phillips pcf8584 i2c controller as found on the sun netra | David Gwynne | |
t1 105. tested by henning@ djm@ ok kettenis@ put it in deraadt@ | |||
2006-01-22 | b_cylin -> b_cylinder; no functional change. | Miod Vallat | |
2006-01-09 | Remove completely obsolete comment from the pre-wscons sparc days in | Miod Vallat | |
zs_getc(). | |||
2006-01-06 | Don't add the same function twice when ordering the functions of a PCI device. | Mark Kettenis | |
Prevents alipm(4) attaching twice on Blade-100. ok deraadt@ |