summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-09-27- don't mess with SCSI controller bits here, only map the two regionsMartin Reindl
we need - unmap Valkyrie register space after matching, we don't use it later from NetBSD
2005-09-27missing pieces for RBV video handlingMartin Reindl
from NetBSD
2005-09-26Use SCSI_IGNORE_ILLEGAL_REQUEST when reading a cd's table of contents.Kenneth R Westerback
ILLEGAL REQUEST is correctly reported for blank media, as an informative FreeBSD comment pointed out. Ensure the returned table of contents is always initialized to zero. Call readdisklabel with spoofonly = 1 when no data tracks are found. Don't try to read the DOS label from the device if spoofonly is 1. Only done for amd64 here. More archs to follow. Eliminates scsi error messages when attempting to open a cd containing blank media, as pointed out by Michael Coulter. ok deraadt@
2005-09-26minor knfTheo de Raadt
2005-09-26Share com probe code between com and pccom; allows us to get rid of awkwardMiod Vallat
code duplication in cardbus, pcmcia and puc attachments. Joint effort with fgs@; blessed deraadt@
2005-09-26Enable the USB softintr code on platforms which __HAVE_GENERIC_SOFTINTERRUPTS.Miod Vallat
go ahead deraadt@
2005-09-26allocate and map the mbox separately to the iocmds used by the ccbs.David Gwynne
2005-09-26bring in two changes from freebsd:Pedro Martelletto
- keep track of free blocks dependencies, and only tell the syncer to release the blocks when there are no more dirty buffers associated - don't mark the inode dependency as done if we had to rollback its allocation due to the bitmap being inconsistent testing by krw, jsg, jmc and sturm, okay deraadt
2005-09-26Return EIO if reading fails.Mark Kettenis
ok drahn@
2005-09-26Match Apple Shasta PCI ID as found on G5 systems.Mark Kettenis
ok drahn@
2005-09-26Match "u3" as found in G5 systems.Mark Kettenis
ok drahn@
2005-09-26Consider nodes named "mpic" as potential open-pic candidates.Mark Kettenis
ok drahn@
2005-09-26- correct framebuffer calculation offset by marking off garbage bits inMartin Reindl
the DAFB v7 - treat the Quadra 605 like the LC47x from NetBSD
2005-09-26Delete wrong comments, originally came from Makefile.mvme88k.Kenji Aoyama
ok miod@
2005-09-25Define symbolic constants for the processor identification register fieldsMiod Vallat
and use them. No functional change.
2005-09-25TyposMiod Vallat
2005-09-25Define the symbolic register indexes in trapframe in <m68k/reg.h> onlyMiod Vallat
#ifdef _KERNEL; also remove duplicate prototypes with <sys/ptrace.h>. Helped by martin@
2005-09-25Remove unused defines and macros.Miod Vallat
2005-09-25Change the size parameter of cmmu_flush_tlb() from bytes to pages. This makesMiod Vallat
things easier for the callers, and allows us to inline the "fewer than 4 pages" situation for speed.
2005-09-25Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators,Miod Vallat
instead of the contents of a for() loop. No functional change. From the m88k SMP tree; ok art@ deraadt@ [complete diff this time]
2005-09-25Do not consider userland trap #496 (BUG system call on mvme88k) as specialMiod Vallat
anymore, since we don't want to allow userland to talk to the BUG. Deliver SIGSYS instead of doing nothing. Makes things simpler, plus it polluted luna88k.
2005-09-25regenMark Kettenis
2005-09-25Add stuff found in iMac G5.Mark Kettenis
ok deraadt@
2005-09-25Do not try increasing NKMEMPAGE_MAX on sun4m at all, until we makeMiod Vallat
kernel_map larger.
2005-09-25On Sun4m, be sure to steal the overlapping part of the iommu dvma spaceMiod Vallat
and kernel_map from the latter. Otherwise, very bad things happen when kernel_map usage grows.
2005-09-25Change 21040 modes slightly.Brad Smith
From matt NetBSD
2005-09-25Remove some duplicate definitions.Brad Smith
From mycroft NetBSD
2005-09-25shuffle some stuff aroundBrad Smith
2005-09-25remove TULIP_PCI_ATTACH_ARGS and TULIP_SHUTDOWN_ARGSBrad Smith
2005-09-251.83 again:David Gwynne
fix ami_drv_inq so it uses ami_cmd's ability to use an arbitrary kernel buffer for passthrough io rather than setting its own up.
2005-09-251.82 again; dont use the scsi xfer to decide if we should dma_sync.David Gwynne
instead use generic variables in the ccb so commands not originating from the scsi layer can be handled by ami_done as well. this version does not freeze like 1.82. the secret seems to be to go ami_put_ccb before scsi_done.
2005-09-25remove more indirection through typedef's and macrosBrad Smith
2005-09-25- delint: zero sized array initalisation is a gccismBrad Smith
- move timeout_set() from tulip_attach() to tulip_pci_attach() - free -> freedescs in tulip_txput() - remove duplicate flag setting in tulip_2114x_media_preset() TULIP_MEDIA_10BASET_FD switch case - some cleaning reduces the delta from the NetBSD driver
2005-09-24The ADM8211B seems to stall after some time of constantJonathan Gray
activity at DS11 speeds. Check for this in the watchdog using seemingly undocumented bits of the TEST1 register used in Linux driver and restart if a stall is detected.
2005-09-24Make use of ieee80211_ibss_merge() from net80211.Jonathan Gray
Based on changes made by David Young to NetBSD.
2005-09-24Remove a bunch of redundant defines that are also in net80211.Jonathan Gray
From a change by David Young to NetBSD.
2005-09-24Make atw_cardbus_power() not tell us its name every time it is called...Jonathan Gray
2005-09-24Force takeover of host ports after hibernate/resume, otherwise devices willChristopher Pascoe
incorrectly attach to the companion controller. Patch from Sebastiaan Indesteege on tech@ ok dlg@
2005-09-23Handle SI4126 operations differently on ADM8211B. ThisJonathan Gray
is the final piece required to make ADM8211B based devices work. Based around what the Linux driver does. ok reyk@
2005-09-23complete rearrange and spaces. makes this readable. no binary change.Federico G. Schwindt
2005-09-23addition O2Micro registers needed to make certain chipsets work (atherosFederico G. Schwindt
seems to be one of them). from linux via Leonardo Chiquitto Filho <leonardo at iken dot com dot br>
2005-09-23regen.Federico G. Schwindt
2005-09-23more O2 micro entries and correct some existing ones; based on diffFederico G. Schwindt
from Leonardo Chiquitto Filho <leonardo at iken dot com dot br> and dmesglog searching.
2005-09-23cleanup and simplify the regulation domain handling. some devices areReyk Floeter
known to have a broken/unsupported regulation domain stored in their EEPROM, we use the default instead (Canada). there's no need to manually define COUNTRYCODE in ar5xxx.c anymore for invalid EEPROMs but it's still possible to force a specific country - your choice. ok aanriot@
2005-09-23change the fallback regulation domain to FCC2A (Canada) instead ofReyk Floeter
FCC1A (US) which makes more sense to us. discussed with aanriot@
2005-09-23{TrendNet,Trendware} -> TRENDnet, ok jsg@Alexander von Gernler
2005-09-23- fix PowerNow flags, cosmetic, only affects dmesg output.Brad Smith
- k7_powernow_init() uses globals making it not SMP safe. so do not call k7_powernow_init() with multi-processor kernels for now. From Gordon Willem Klok <gklok at cogeco dot ca> ok tedu@ deraadt@
2005-09-22Simplify DMA handling. Limit DMA size to a fixed numer of slots.Claudio Jeker
Redesign musycc_start() so that it can be called from the musycc_txeom() handler when there is again space in the DMA ring.
2005-09-22Notify sppp about link state changes. This makes PPP encoding work.Claudio Jeker
2005-09-22remove the very basic ath(4) rate control implementation and useReyk Floeter
rssadapt(9) instead. this may need some further work but now it's in the right place and shared with other drivers (like ral(4)). yes jsg@