summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2003-06-25Restore the original wdcdebug_mask instead of clearing DEBUG_PROBE whenHenric Jungheim
done with it. This makes "wdcprobe()" consistent with "wdcattach()". ok grange@
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-25#include <machine/intr.h> is not necessary here.Miod Vallat
2003-06-23no need for an explicit <machine/intr.h> inclusionMichael Shalayeff
2003-06-18we already set the rx descriptor length to accept vlan packets... justJason Wright
need to advertise the capability; tested by tsar at polarcap dot org
2003-06-17New driver and wsdisplay type for the Weitek Power9000 and Brooktree Bt445Miod Vallat
combination, found on the Tadpole SPARCbook 3 only (later model use the Power9100 and are already supported). Untested for lack of hardware and volunteers, but carefully crafted; if it does not work out of the box, this should be a good starting point. "worth having in the tree" millert@
2003-06-16be more sane w/ byte swapping and leave the le archs at the same behaviour ↵Michael Shalayeff
and give be archs a better chance at getting the correct mac address as tested on the mac and hppa where mac has an additional bug w/ the phy bit still remaining and hppa seems fine; jason@ ok
2003-06-09more 3/4 cleanup for pefoTheo de Raadt
2003-06-09Fix erroneous handling of i/o's during a reset.Kenneth R Westerback
a) Set xs->status rather than cmd_tables->status because there will be no interrupt processing to move it from cmd_tables->status to xs->status. b) Set cmd_c.status to correct value (CMDST_SENSE_DONE) when an active sense command is reset. c) Don't put a reset command from the ready queue into the free_list twice, once in siop_scsicmd_end() and once manually. Condition a) meant that the scsi layer was seeing successfully completed i/o's (xs->error == XS_NOERROR) when they were in fact reset and should have had xs->error == XS_TIMEOUT or xs->error == XS_RESET. This meant lost data on output, and random or zero'ed data on input. Condition b) meant that the wrong bus_dmamap_sync() was called, though the actual action was apparently identical. Condition c) meant that the free_list could become corrupt. The problem was discovered by pb@ on a heavily loaded server that experienced timeouts. This fix was tested by pb@ and henric@ to prove it did not affect normal processing. If nothing else it will provide better error messages if the problem is ever encountered again. Probably a good candidate for -stable if pb@ can successfully reproduce his timeout problems and not have his server crash.
2003-06-07print minor version as 02d; from Adam Montague via pr 3284; matches what ↵Michael Shalayeff
freebsd does as well
2003-06-053/4 knockout for peter galbavyTheo de Raadt
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-03fix various 3/4 licenses according to "terms" fileTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02kill the caluses three and four on some of my codeMichael Shalayeff
2003-06-02nuke clause 3 & 4Jason Wright
2003-06-02do not play w/ interrupts too much and keep 'em enabled at all times, fixes ↵Michael Shalayeff
random lockups; tested by brad@ on all models
2003-05-31real register definitions for the brooktree 451/457/458 on the cgsix andJason Wright
cgthree. ok miod.
2003-05-28The statistics are wrong endian. "netstat -i" now gives sane results.Henric Jungheim
ok pb@
2003-05-24Disable off-screen font loading. We still need to use the pdc console routinesMiod Vallat
before we switch to wsdisplay, and this can clobber the font image in some cases, especially lower (<= 1024x768) resolutions.
2003-05-20AN983 endian issue; from FreeBSD via PR 3263 with minor style fixes by meHenning Brauer
ok jason@
2003-05-19Put required delays between reading DSTAT and SSTAT0 registers. Add new onesKenneth R Westerback
where required and modify existing ones to use a consistant delay(25). From NetBSD with minor mods. ok mickey@.
2003-05-17Replace suspect strncpy with strlcpy to ensure null termination.Kenneth R Westerback
ok tdeval@ deraadt@ miod@
2003-05-17fix up the media handling for the intel based MACs. Also hack around aJason Wright
bug in the Momenco firmware on the Leopard-V, which now has one port working.
2003-05-16Use 16bit alignment in addr_cmp() (not 32bit) so this has a chanceTodd C. Miller
of working on sparc64.
2003-05-14Nuke more commons: ac97_id2, tinfo_tJason Wright
2003-05-13remove annoying sputtering that no other ethernet driver does; ok jason@Todd T. Fries
2003-05-12Nuke a whole bunch of commons; ok tedu (still more to come *sigh*)Jason Wright
2003-05-06make sure we always zero out ds (and get no trash from stack) and always ↵Michael Shalayeff
warn about no acb where applicable; krw@ ok
2003-05-06count auto-sense reqs as well; krw@ okMichael Shalayeff
2003-05-06allow programming dma block bus transaction length on 710 and set to 8 words ↵Michael Shalayeff
for hppa/osiop; krw@ ok
2003-04-29grr... %s, not dc%sJason Wright
2003-04-29- remove last vestige of "old autoconf": dc_unit is dead, long live dv_xnameJason Wright
- remove a bunch of #if 0 stuff (most of which referred to dc_unit, grr) - delay a bzero until necessary
2003-04-29KNFJason Wright
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-26managment -> management;Jason McIntyre
ok mickey@
2003-04-25lm(4) driver from NetBSD adapted for sysctl interface.Alexander Yurchenko
The lm driver provides support for the National Semiconductor LM series hardware monitors and register compatible chips. It supports LM78, LM78-J, LM79, Winbond W83697HF, W83627HF, W83781D and W83782D chips. Tested and ok'ed by millert@ and henning@.
2003-04-23give 'em some const; mjacob@ okMichael Shalayeff
2003-04-12Fix index bounds checking in save data pointers logic.Kenneth R Westerback
Fix an indent problem and an extra blank space. ok mickey@
2003-04-11Delete a doubly redundant call to timeout_del() in osiop_timeout.Kenneth R Westerback
First, the only way to get there was if the timeout fired, in which case timeout_del() is a noop. Second, it will be called in osiop_scsidone() for every active command when osiop_reset() is called in osiop_timeout(). From mickey@
2003-04-09missing nl in the error msg and a return afterwardsMichael Shalayeff
2003-04-09a couple of sigmatel codec idsMichael Shalayeff
2003-04-09Cleanup/make more consistant the various DEBUG flags and uses thereof.Kenneth R Westerback
Eliminate a couple of unused debug defines and variables. ok mickey@
2003-04-09Reduce default OSIOP_DEBUG output to a useful volume.Kenneth R Westerback
From mickey@
2003-04-08Fix diagnostic output to display data buffer actually being used.Kenneth R Westerback
Fix setting of data buffer length when doing auto request sense. Add a little general paranoia about setting data buffer length. Eliminate $ifdef'ed field in acb structure, leaving diagnostic code using it #ifdef'ed. Mostly suggested by and ok mickey@.
2003-04-07a couple more codec ids from peopleMichael Shalayeff
2003-04-06Fix a lot of issues in osiop.Kenneth R Westerback
In particular fix dma memory handling and as a result request sense processing. Much input/advice/testing from Mickey. ok mickey@
2003-04-03adjust protection on the allocated memory through the uvm same as it was ↵Michael Shalayeff
allocated w/o cutting short onto the pmap layer
2003-03-30Fix probing of dual channel 7899 with some fixes from current FreeBSDKenneth R Westerback
code, plus an extra ahc_flush_device_writes(). ok deraadt@ tdeval@
2003-03-30Delete unused local version of strncat.Kenneth R Westerback
ok mjacob@.