summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
AgeCommit message (Collapse)Author
2001-09-08Don't reference kbd_docmd() unless NKBD > 0; reported by Steven Siirila ↵Jason Wright
<sfs@Siirila.org> (pr2052)
2001-09-01Catch up with mainline of code development.mjacob
Add support for 2 Gigabit cards (2300/2312). This necessitated a change in how interrupts are down- the 23XX has not only a different place to check for an interrupt, but unlike all other QLogic cards, you have to read the status as a 32 bit word- not 16 bit words. Rather than have device specific functions as called from the core module (in isp_intr), it makes more sense to have the platform/bus modules do the gruntwork of splitting out the isr, semaphore register and the first outgoing mailbox register (if needed) *prior* to calling isp_intr (if calling isp_intr is necessary at all). Rearchitect how regular SCSI parameters are stored or used.
2001-08-24propagate bootpathJason Wright
2001-08-17cdev_decl cleanup; jason@ okMichael Shalayeff
2001-07-30convert to ALTQ style macros (these drivers appear to meet the criteria forJason Wright
ALTQ, anyone more familiar with it wanna have a look?)
2001-07-25Change the pmap_enter interface to merge access_type and the wired booleanArtur Grabowski
and arbitrary flags into one argument. One new flag is PMAP_CANFAIL that tells pmap_enter that it can fail if there are not enough resources to satisfy the request. If this flag is not passed, pmap_enter should panic as it should have done before this change (XXX - many pmaps are still not doing that). Only i386 and alpha implement CANFAIL for now. Includes uvm updates from NetBSD.
2001-07-04$OpenBSD$Niklas Hallqvist
2001-06-26trivial ether_input_mbuf() conversions.Federico G. Schwindt
2001-06-23More constants cleaning.Federico G. Schwindt
2001-06-11Repair SUN4M-only case compilation...Miod Vallat
2001-06-11Being able to compile sun4 (non-sun4c non-4m) kernels doesn't hurt.Miod Vallat
2001-06-10permit compilation when only SUN4C is defined; based on patch from Thomas ↵Jason Wright
Coffy <coffy@altern.org>.
2001-06-08Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface toArtur Grabowski
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-05-10UVM is no longer optional on sparc.Artur Grabowski
2001-05-01Convert to new timeouts. (art@ ok)Hakan Olsson
2001-04-13silence printfs from media selection.Brad Smith
2001-04-06Move offsetof define into sys/param.hConstantine Sapuntzakis
2001-04-04Ansify source. Handles are now 16 bits.mjacob
2001-03-24Oops. Unbreak.Hakan Olsson
2001-03-24Convert to new timeout API. art@ ok.Hakan Olsson
2001-03-24Convert to new timeout API. mickey@ ok.Hakan Olsson
2001-03-03cnkqfilter for sparcNiels Provos
2001-02-22ifdef sparc -> ifdef __sparc__Artur Grabowski
2001-02-20for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ okMichael Shalayeff
2001-02-12set default adapter role, propage config flagsmjacob
2001-01-30- make hme_put() a little neaterJason Wright
- mostly style
2001-01-30- take advantage of the fact that qe's and be's require qec's and moveJason Wright
some common functionality into qec's driver (rx and tx frame fetching) - avoid modulus operations - some style
2001-01-30borrow an idea from if_rl... take advantage of HME_RX_OFFSET and useJason Wright
m_devget() to pull the packet out of hme's buffers
2001-01-30new timeoutsJason Wright
2001-01-23three small bugs pointed out by Adam <vt@ikp.pl>Jason Wright
2001-01-20if using serial console, do not apply graphics rows/cols to tty settings; ↵Theo de Raadt
joost@c-lab.de
2001-01-15- increase the amount of space mapped for dvma on sun4mJason Wright
- use a flag to specify allocations for 24 bit devices - compatibility macros to deal with the 32 bit devices This fixes the 'le at sbus' on sun4m problem (with the extent fixes earlier), and allows the Artecon ethernet cards to work in sun4m machines.
2000-11-28How did this work?Jason Wright
2000-11-28Repair: grrrrrr... brought in wrong changes -again-Jason Wright
2000-11-28oops, not yetJason Wright
2000-11-28remove statics and knfJason Wright
2000-11-17seems the qe/mace combination needs a delay between accesses to theJason Wright
two chips. Better fix for the NMI problem.
2000-11-16- remove other media types, the MACE isn't as bright as one would hopeJason Wright
- always set it to autoselect, tp - remove the wait for media stuff: appears to be a local issue on - simplify the ifmedia callbacks appropriately
2000-11-16wait for the MACE to figure out whether it has media or not, and thenJason Wright
clear interrupt status and such before enabling rx and tx.
2000-11-16- Fix the NMI problem: it seems the qec channel reset also resets the MACE, andJason Wright
a race condition existed where after a qec channel reset, accesses to the MACE would cause an NMI: so wait for the MACE to come out of reset before accessing. - add ifmedia support (mainly so I can get at the link status from other code) - move some of the spl handling around (more correct) - rewrite qe_mcreset() again so that all it does is set the multicast filter - use bzero to initialize the buffers and descriptors - rearrange the MACE setup to conform to the suggestions in the datasheet
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-11-07Race conditions make it hard for us to know if the interrupt was for us.Artur Grabowski
Return -1 instead of 0 if we did not service the interrupt. XXX - this is a horrible kludge, but should fix the stray interrupt problem that so many people have seen.
2000-10-16quiet these puppies down- this OpenBSD, not some callow system like NetBSDmjacob
2000-10-16Update OpenBSD with respect to Solaris/FreeBSD/NetBSD/Linux versions.mjacob
Major rewrite of a lot of internals- far too many to list. Cleaner locking, more paramaterization, an isp_prt logging function that handles debugging as well as error printouts. We also should no longer hang if there is no Loop for Fibre Channel when booting. The file ispvar.h now contains a list of all platform required macros and explanation as to what they're for. This should make maintenance easier.
2000-09-21initialize sc_link.openings to it's (currently) default value of 4Michael Shalayeff
2000-09-18fix reversed muting; patch from: jason@Brad Smith
2000-07-14on a SparcStation Voyager, the 2nd zs device does not exist.Theo de Raadt
2000-07-11NKDD? no -- NKBD, bad mjacobTheo de Raadt
2000-07-07Fix some spl handling.Artur Grabowski
Return 1 from zshard more often to reduce (not fix) the stray interrupt problem.