summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
AgeCommit message (Collapse)Author
2004-08-08do not reset the chip (and subsequently the phy) when unnecessary; that is,Brad Smith
for address changes, multicast filter changes, or adjusting promiscuous mode. Fixes resetting the phy for things like start/stopping tcpdump. From NetBSD tested by me, miod@, otto@ and a few others. ok deraadt@
2004-07-26Remove orphaned prototypes.Miod Vallat
2004-06-20zx(4) support for sparc64, tested on an Ultra 2.Miod Vallat
2004-05-12if tctrl not there, still let this compile; miod okTheo de Raadt
2004-05-10When external power is not available, the tadpole video hardware getsMiod Vallat
stuck in a weird mode, where not all acceleration functions are available, and I could not figure out how to reset the chip strongly enough to leave this mode. Try to compensate by checking whether the external power has been removed, when we set up the accelerated rasops (this will not cope with power being removed after bootup, yet).
2004-05-09Replace the event queue with a bit mask of slots needing attention, asMiod Vallat
done in stp(4).
2004-05-04Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.Alexander Yurchenko
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt
2004-04-12removeable -> removable;Jason McIntyre
ok deraadt@ beck@
2004-04-02remove pk from copyright, seen in netbsdTheo de Raadt
2004-03-09Real, inverted, cursor.Miod Vallat
2004-03-02Rework the card insertion/removal detection logic:Miod Vallat
- instead of queueing events each time the sense information changes, only remember that the slot needs attention - when processing a slot needing attention, decide what to do depending upon its current sense information, rather than what it was when the change was detected - handle the ``only one sensor asserted'' state happening during slow insertion or removal. This makes the driver much more reactive to insertions and removals, and also removes unnecessary attach/detach calls. ok deraadt@
2004-03-01Initialize the frame buffer when the PROM did not do this on our behalf.Miod Vallat
2004-03-01More readable DAC programming.Miod Vallat
2004-03-01Define a wsdisplay type for rfx; ok deraadt@Miod Vallat
2004-02-29Enter rfx, driver for the SBus RasterFlex frame buffer family.Miod Vallat
Currently 8-bit only for now. This apparently completes the SBus frame buffer support list - yet if you stumble upon an unsupported SBus frame buffer, I'd love to hear about it...
2004-02-29More colormap games for 8-bit framebuffers to enjoy the inverted cursor too.Miod Vallat
2004-02-27TyposMiod Vallat
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
2004-02-01Trivial touches to compile with gcc 3.Miod Vallat
2004-01-12typos from Jared Yanovich;Jason McIntyre
2003-12-20Pass -Wformat.Miod Vallat
2003-11-14the the; rohee@Miod Vallat
2003-11-07adress -> address, and a few more; all from Jonathon Gray;Jason McIntyre
(mvme68k/mvme88k) vs.c and (vax) if_le.c ok miod@ isakmpd ones ok ho@
2003-11-03spelling fixes (in the comments)David Krause
2003-10-05If attaching a wsdisplay console causes a font switch, do not update the PROMMiod Vallat
view of the cursor position, so that it comes back to a correct location when the system is shut down.
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-09-29avaliable -> availableMiod Vallat
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-01The Vigra VS10-EK is recognized as a cgthree clone, but due to its utterlyMiod Vallat
ridiculous resolution, we need to plug the "clear the screen and switch font" trick here too. [Thanks to Andrey Smagin for providing a card for testing]
2003-07-02fix tslot issues (need level-triggered interrupts); from miodTodd T. Fries
2003-06-28back out that which does not compileTheo de Raadt
2003-06-28grr... committed previous from the wrong tree... fixed version, which alsoJason Wright
adds alaw:8 support.
2003-06-28add emulations for slinear:8 and ulinear:8; ok miodJason Wright
2003-06-28Sync sparc fb API with the sparc64 changes (fbwscons_init takes flags, andMiod Vallat
the sunfb structure keeps pointer to the prom cursor coordinates).
2003-06-28Be more careful when processing interrupts - the TS102 queues them, and weMiod Vallat
might get fed an interrupt for a particular condition at a time we are not expecting this condition anymore...
2003-06-28Be prepared to the fact that the user may unplug a card before it wasMiod Vallat
fully initialized.
2003-06-28Add a macro to encode (x,y) coordinates.Miod Vallat
Use ZX_EXTENT_DIR_* constants for fill commands, rather than hard-coded values. Provide a RI_FULLCLEAR version of eraserows().
2003-06-28Add RI_FULLCLEAR to the rasops flags. Accelerated drivers (cgsix, creator,Miod Vallat
pnozz) benefit from this, and this does not hurt the other drivers.
2003-06-28Clear screen after smitching to the wsfont, on low-resolution cgsix.Miod Vallat
This is only necessary on the RDI Britelite laptops. Reported by Paul Weissmann.
2003-06-28A better reset sequence; also, probe slots immediately rather than waitingMiod Vallat
for the worker thread to be set up.
2003-06-25We want address incrementation disabled, so correctly ask for it...Miod Vallat
2003-06-25Oops, put back iot/memt affectations in io_alloc/mem_alloc; spotted by todd@Miod Vallat
2003-06-25Extend the sparc bus_space_tag_t to store access endianness in it, andMiod Vallat
adapt all bus_space functions to do proper endianness conversion whenever necessary, except for the raw ones. This allows us to remove the forced endianness conversions in if_wi. with help from and ok mickey@
2003-06-24... and it must compile, too. Doh.Miod Vallat
2003-06-24io_alloc must provide working bus_space tag and handles...Miod Vallat
2003-06-24Use the common Power9000 definitions.Miod Vallat
2003-06-23Driver for the pcmcia slots in the Tadpole SPARCbook machines.Miod Vallat
Currently only tested with wi(4), and there are still some sporadic "device timeout" issues left - your mileage may vary.
2003-06-23Split the stp driver into its core, and md attachment routines, and provideMiod Vallat
attachment routines for sparc and sparc64.
2003-06-18oops, missed this part of the hme vlan stuffJason Wright