summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
AgeCommit message (Collapse)Author
2002-05-21Enable the blanker now that the X stuff is fixedJason Wright
2002-05-17Handle the removal of 'const' from structure definition.mjacob
2002-05-13- Request 24bit dvma allocation if we fail to find an lebuffer to attach toJason Wright
- add bus_space_barrier's to the csr read/write functions - KNF and other cleaning
2002-05-13un-pee and KNFJason Wright
2002-05-13From netbsd:Jason Wright
driver for le at lebuffer type devices
2002-04-09because SUNW,fas boards don't have a corresponding 'dma' device, searchingJason Wright
for the corresponding 'dma' for a non-fas 'esp' needs to have an offset (really a count of the number of 'fas's)
2002-04-08Credit DARPA/USAF appropriately.Jason Wright
2002-03-29o remove extra args in printf's.Federico G. Schwindt
o remove unneded struct. o change error to match reality. jason@ ok.
2002-03-14Driver for the Aurora Technologies 210SJ parallel portJason Wright
2002-03-14Conditionalize com at asio correctlyJason Wright
2002-03-14Use getpropstringA instead of getpropstring to fetch magma_prom propertyJason Wright
to avoid clobbering sa->sa_name (similiar fix as sparc)
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14Reload the palette only during the vert retrace interruptJason Wright
2002-03-13Try fetching the mac address from the local-mac-address property, and ifJason Wright
it fails, fall back to myetheraddr()
2002-03-08Clean up:Jason Wright
Allow the children to register their own interrupt handlers (and set the appropriate interrupt enable bits in the csr) Verify the asio revision
2002-03-07From watching source-changes@netbsd.org: rb_dmabase needs to be initializedJason Wright
-after- the call to bus_dmamem_map()
2002-03-06Driver for the Aurora 210SJ serial ports (It's not 100% correct yet, butJason Wright
pretty close); thanks to Matt <matt@vertrauen.org> for donating the board.
2002-03-04Disable the wscons burner functionality... I'm not in the mood to debug it ↵Jason Wright
right now.
2002-02-24Proper screenblank semanticsJason Wright
2002-02-23Add burner function so wscons can blank the fbJason Wright
2002-02-07Do a more complete initialization if the prom didn't do it for us.Jason Wright
2002-02-07import some register defns from sparcJason Wright
fully initialize and unblank framebuffer for non-console use bus_space_vaddr()
2002-02-07use bus_space_vaddrJason Wright
2002-02-06prettyJason Wright
2002-02-06non console framebuffers, reset and initialize them correctlyJason Wright
2002-02-05Allow mmap as a dumb framebuffer (from offset 0).Jason Wright
2002-02-05Allow mapping as a dumb framebuffer (from offset 0)... This allows us toJason Wright
get as far here as with vgafb.
2002-02-05Implement vgafb_mmap() fullyJason Wright
From NetBSD: change bus_space_mmap() prototype to standard one
2002-01-31Move ioctl userland accessible stuff to <dev/sun/uperfio.h>Jason Wright
2002-01-30Driver for getting at performance counters. These manifest themJason Wright
selves as "sc at sbus" and a couple of registers on psycho (sabre doesn't appear to have these registers).
2002-01-25Add support for the "Magma 2+1HS Sp" (from NetBSD)Jason Wright
2002-01-21finish ericj's work.Nathan Binkert
make all audio drivers use the new allocm and round_buffersize decl's. will ease porting, and generally cleans up a bit
2002-01-13Better error handling: unmap registers on failure and better checking onJason Wright
whether the spif is found at open(2) time.
2002-01-13Port of my spif driver to sparc64 (untested)Jason Wright
2002-01-12the 1190 and 1400 register maps aren't the same size don't treat them soJason Wright
(basically this was a cut and pasto).
2002-01-12House cleaning: removing some leftover sparc bits and suchJason Wright
2002-01-12Port of Iain Hibbert's magma driver to sparc64Jason Wright
2002-01-11Roughly same diff as sparc, better interrupt handling:Jason Wright
* check use IE bits to qualify I bits * move cs4231 chip interrupts to APC GI handling * enable/disable cs4231 IEN in pin control register
2002-01-06Claim to support WSSCREEN_WSCOLORS (drivers support it, but rcons doesn'tJason Wright
appear to).
2002-01-04Add handling for cmap get/put (mostly from sparc)Jason Wright
2002-01-04Add support for get/put colormap (mostly borrowed from sparc)Jason Wright
[XXX the bt458 stuff should be shared and will be later].
2002-01-04mmap functionality for cgthee (mostly from NetBSD)Jason Wright
2002-01-04add mmap functionality (most from NetBSD)Jason Wright
2002-01-03define a new wsemul_sun attribute and add it to the sparc64 framebuffersJason Wright
[This needs to be extended to the vt100 and dumb emulations too.. in time]. (This allows the removal of WSEMUL_SUN from sparc64/conf/GENERIC)
2002-01-01don't whine about no carrier here either.Jason Wright
2001-12-14Major restructuring for swizzling to the request queue and unswizzling frommjacob
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have a complete set of inline functions in isp_inline.h. Each platform is responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32} macros. The reason this needs to be done is that we need to have a single set of functions that will work correctly on multiple architectures for both little and big endian machines. It also needs to work correctly in the case that we have the request or response queues in memory that has to be treated specially (e.g., have ddi_dma_sync called on it for Solaris after we update it or before we read from it). One thing that falls out of this is that we no longer build requests in the request queue itself. Instead, we build the request locally (e.g., on the stack) and then as part of the swizzling operation, copy it to the request queue entry we've allocated. I thought long and hard about whether this was too expensive a change to make as it in a lot of cases requires an extra copy. On balance, the flexbility is worth it. With any luck, the entry that we build locally stays in a processor writeback cache (after all, it's only 64 bytes) so that the cost of actually flushing it to the memory area that is the shared queue with the PCI device is not all that expensive. We may examine this again and try to get clever in the future to try and avoid copies. Another change that falls out of this is that MEMORYBARRIER should be taken a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the entry being added. But there had been many other places this had been missing. It's now very important that it be done. For OpenSD, it does a ddi_dmamap_sync as appropriate. This gets us out of the explicit ddi_dmamap_sync on the whole response queue that we did for SBus cards at each interrupt. Now, because SBus/sparc doesn't use bus_dma, some shenanigans were done to support this. But Jason was nice enough to test the SBus/sparcv9 changes for me, and they did the right thing as well. Set things up so that platforms that cannot have an SBus don't get a lot of the SBus code checks (dead coded out). Additional changes: Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry, the iptr value that gets returned is the value we intend to eventually plug into the ISP registers as the entry *one past* the last one we've written- *not* the current entry we're updating. All along we've been calling sync functions on the wrong index value. Argh. The 'fix' here is to rename all 'iptr' variables as 'nxti' to remember that this is the 'next' pointer- not the current pointer. Devote a single bit to mboxbsy- and set aside bits for output mbox registers that we need to pick up- we can have at least one command which does not have any defined output registers (MBOX_EXECUTE_FIRMWARE). Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response. Otherwise, we won't unswizzle it correctly. Nuke some additional __P macros.
2001-12-05Same stuff as cgthree:Jason Wright
- fix initialization so that the cursor is initialized to be in the same place the prom left it. - remove some trial and error #if 0 stuff - fix copyo's in a2int() - ditch *_romcursoraddr for a direct call to romgetcursoraddr() - allow this to attach (without panic()) if it is not the console.
2001-12-05- fix initialization so that the cursor is initialized to be in the sameJason Wright
place the prom left it. - remove some trial and error #if 0 stuff - fix copyo's in a2int() - ditch *_romcursoraddr for a direct call to romgetcursoraddr() - allow this to attach (without panic()) if is is not the console.
2001-12-04skeleton driver for cgthree (at the same point as cgsix)Jason Wright