summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
2006-09-01Standardize on EFBIG in bus_dmamap_load* if caller is too greedy; I hadMiod Vallat
done this 4.5 years ago already but regressions happened; reminded by a similar commit in NetBSD (from mrg@); ok damien@ deraadt@ jason@
2006-08-29XXX when we find vgapci devices on a USIII machine, fail to matchTheo de Raadt
(for now, until the bugs are found. USIII machines remain serial-only for now); ok miod
2006-08-27Use the correct IGN for the B side of schizo. Makes interrupts actually workMark Kettenis
in the PCI slot of the v210. ok jason@
2006-08-17(128 << fd->sc_type->secsize) instead of (128 * (1 << fd->sc_type->secsize)).Kenneth R Westerback
Makes all FD_BSIZE() defines the same. No object code change.
2006-08-15Allocate as many iommu page lists as necessary to match the size requestMiod Vallat
in bus_dmamap_create() again, but this time add a few extra pages to cope with fragmented data (such as mbufs). Tested by many.
2006-08-11For non-console vgafb, force rasops to initialize it as a monochrome resource,Miod Vallat
since we can't program the colormap anyway.
2006-07-10Do not blindly enable pci io/mem space.Mark Kettenis
ok deraadt@
2006-07-02get rid of an unused variable.David Gwynne
ok deraadt@
2006-07-01one more dmesg tweakTheo de Raadt
2006-07-01clean dmesg output for iommu more; tested miod dlgTheo de Raadt
2006-07-01Provide our own alloc_attr() routine for sun frame buffer, since the computationMiod Vallat
of highlighted color indexes is slightly different due to different black and white color code (and the fact that the default white is the highlighted white).
2006-07-01Make sure we don't accidentally match one of the unused PCI error interruptsMark Kettenis
instead the interrupt for PCI slot 0. ok dlg@
2006-06-30For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette insteadMiod Vallat
of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land.
2006-06-30Some machines lack the virtual-dma property. In that case, go backTheo de Raadt
to the 128KB assumption, until we find out another way to determine the space. Damn.
2006-06-29No need to keep specific variables for the kernel messages colors on sunMiod Vallat
emulation, we can reuse the existing WSCOL_xxx codes, and WSCOL_BLACK and WSCOL_WHITE will point to variables anyway.
2006-06-29try prom mapping first, then memory mapping, then io mapping.. this worksTheo de Raadt
on v210 and on netra t1 105, good sign it will work on others. mechanism pointed out by miod, tested by dlg and djm and I
2006-06-28cleanup dmesg logging for iommu goo, make it follow the standard formTheo de Raadt
2006-06-28look at "virtual-dma" property to decide where the iommu address spaceTheo de Raadt
is, instead of having iommu_init() decide
2006-06-28keep track of what is a schizo and what is tomatilloTheo de Raadt
2006-06-27Fix interrupt mapping. This now seems to work on all machines, even withMark Kettenis
pci cards that have a pci-pci bridge and lack fcode. tested by many, ok jason@, dlg@
2006-06-27don't bother printing "{se}bus: %s incomplete" for devices missing a regJason Wright
property. They're not interesting.
2006-06-23match tomatillo varient (not yet fully working)Theo de Raadt
2006-06-22BBC-based machines swap the two registers (good going Sun -- that is why weTheo 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-21if machdep.kbdreset==1 and the front panel button interrupt fires, tell initJason Wright
that it's time to go sleepy-bye.
2006-06-16documentation on the registerJason Wright
2006-06-16skeleton 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-14support the iic busses on the ultrasparc III machines (something is stillTheo de Raadt
wrong, likely clocking); tested to not break older machines by dlg & djm
2006-06-02sbus_establish() and the associated linked list in the sbus softc is now onlyMiod 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-02turn the non-DEBUG case of DPRINTF into a do {} while (0) so it worksJason Wright
more or less as expected (and removes the need to a stupid #ifdef)
2006-06-02- clear the PCI_AFSR during initJason Wright
- set up the interrupts more correctly - print errors nicer
2006-06-02correct bits for bus type in PCIAFSRJason Wright
2006-06-02ppm driver. We don't use it for much... except to blink the power switch ↵Jason Wright
led. woot!
2006-06-02bits bits bits, who got dat bitsJason Wright
2006-06-01latch the AFSR/AFAR -before- reading the PCI control/status registerJason Wright
2006-06-01do a better job of setting up the PBM. Doesn't fix the PIO faults we'reJason 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-01add bit defns for [UE]FARJason Wright
2006-06-01enable error interrupts and install handlers for same (the handlers don't do ↵Jason Wright
much yet)
2006-05-30Sync region detection algorithm with macppc, helps some recent cards, suchMiod 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-29implement frequency setting for the beep. It also beeps for one secondJason Wright
during boot (this is annoying, I know... I'll hook it up to the keyboard handler later).
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-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-15Merge creator attachment code again, it turns out the upa/mainbus attachmentMiod Vallat
code split is not necessary after all; ok jason@
2006-04-29fix build after timestamping addition; sparc pointed out by pvalchev@Christian Weisgerber