summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2003-08-19implement WSDISPLAYIO_{GET,PUT}CMAP; untestedMichael Shalayeff
2003-08-19inquire ext config and dump it in debugging and also fix other debugging printsMichael Shalayeff
2003-08-18back out previous. miod pointed out that we don't recover from thisJason Wright
correctly, so complaining gives a better description of what's going on.
2003-08-18#ifdef warning about chained buffersJason Wright
2003-08-17implement WSDISPLAYIO_{S,G}MODEMichael Shalayeff
2003-08-17print out the graphics idMichael Shalayeff
2003-08-17cleanupMichael Shalayeff
2003-08-15cleanup.Federico G. Schwindt
2003-08-15- remove ahc dependency, convert smc93cx6 into an attribute.Federico G. Schwindt
- support for 8 and 32 bit registers. from NetBSD. deraadt@ and krw@ testing and 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-12fix after mickey breakage; reported by grange@.Federico G. Schwindt
2003-08-12constify sequencer script; krw@ okMichael Shalayeff
2003-08-12move verify_cksum() to ahc; krw@ ok.Federico G. Schwindt
2003-08-11constify voicetabMichael Shalayeff
2003-08-11free code memory should change permissions failMichael Shalayeff
2003-08-11make sure Debugger() is called only inside _both_ DDB and OSIOP_DEBUGMichael Shalayeff
2003-08-09need to include bpfilter.h for bpf to work (noticed by weissmanndude). put ↵Michael Shalayeff
some non-fatal printfs into ifdef debug
2003-08-08remove unused code and a some cleanup; deraadt@ and krw@ ok.Federico G. Schwindt
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-08-05print dv_xname instead of the uninitialized variable card; ok ↵Markus Friedl
miod/henning/deraadt
2003-08-05Add support for Winbond 83627THF, ok grange@ henning@Damien Couderc
2003-08-03use bus_dmamap_load_raw() instead of bus_dmamap_load() where appropriate; ↵Michael Shalayeff
krw@ ok
2003-07-25cast and %lu for size_t variable printfJason Wright
2003-07-23Old Promise ATA controllers need some additional operationsAlexander Yurchenko
during DMA transfers to work correctly with LBA48 drives. Based on diff from Takeshi Nakayama <tn@catvmics.ne.jp> for NetBSD with some corrections from FreeBSD ATA driver.
2003-07-23VT1612A; matthew.gream@pobox.comTheo de Raadt
2003-07-15Add support for AD1985, deraadt@ okDamien Couderc
2003-07-15correct some debugging printfsJason Wright
2003-07-15move prototype for com_raisedtr() to comvar.h (just like pccom).Jason Wright
2003-07-14uptimes in secs and usecs seem to be swapped w/ each other; also confirmed ↵Michael Shalayeff
by millert
2003-07-09Eliminate creation/destruction of dmamap's for every xmit by reusingKenneth R Westerback
statically allocated maps. Significant performance boost on both sparc64 and macppc. Tested on macppc by drahn@. ok jason@ drahn@.
2003-07-08no need for an explicit machine/intr.h; tested on alpha, i386, sparcMichael Shalayeff
2003-07-06trailing spacesAlexander Yurchenko
2003-07-05better indentAlexander Yurchenko
2003-07-01Don't dma map the xs->cmd. Copy it to a safe buffer that is alreadyKenneth R Westerback
mapped and sync'ed appropriately, and is guaranteed to be in one memory page. Eliminate now unused dmamap_cmd and rs_cmd fields. Fix another error message (adding active command to reset list) so that it includes the adapter name. Add missing letoh32() calls to debug code. The evils of directly mapping *xs->cmd were pointed out by Mickey during osiop development. In particular, *xs->cmd may start on one memory page and run into the next. Since the dma logic in most cards/drivers (including siop) only allocates one address/size pair to map *xs->cmd, parts of a command could be lost or corrupted. The large number of 6 byte dma mappings noted long ago by someone (Henric?). This change reduces the dma mapping activity per i/o by 1/3 to 1/2 and may give a performance boost of some kind. Successfully tested on i386, sparc64 (ultra30 - thanks Jolan, blade100), macppc and alpha. Unfortunately these changes don't fix the Blade1000 siop problems. **NOTE** If scsi_generic is ever upped to 16 bytes the offsets in siop.ss must be updated!
2003-06-29- cast rfact to int64_t before multiplication to avoid sign overflowAlexander Yurchenko
- don't hardcode funrpm sensors number in wb_fanrpm(), instead pass it as a parameter since WB83697 actually has only 2 sensors, not 3 from Otto Moerbeek <otto@drijf.net>.
2003-06-29remove usage of xl_unitJason Wright
2003-06-28supply missing argument to a panic string; ok tedu, deraadtAnil Madhavapeddy
2003-06-28fix wrong format type; ok deraadt, tedu, mickeyAnil Madhavapeddy
2003-06-28Fix a bug which would promote a target from TARST_PROBING toKenneth R Westerback
TARST_ASYNC if a bus reset occurred while in TARST_PROBING. Improve DMA IRQ error message to always display the adapter name. Correct an indent botch. All of which doesn't help the Blade1000 boot, though it is now both less noisy and more informative.
2003-06-26align acb size to 256 bytes to avoid cache issues; krw@ okMichael Shalayeff
2003-06-25constify some readonly dataMichael Shalayeff
2003-06-25AN_RID_ACTUALCFG gets the same endianesslessness as AN_RID_GENCONFIGMichael Shalayeff
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