freebsd-skq/sys/dev
Robert Noland 24c6d24b27 Rework the management of vblank interrupts a bit.
When a vt switch occurs the irq handler is uninstalled.  Interrupts
and the state tracking of what was enabled/disabled wasn't working
properly.  This should resolve the reports of "slow windows" after a
vt switch, among other things.  The radeon 2d driver seems to work a
bit more correctly than the Intel driver.  With the Intel driver,
vblank interrupts will be enabled at system startup and will only
be disabled after an additional modeset (vt switch, dpms, randr event).

With this patch, I am able to run glxgears synced to vblank and
vt switch while it is running without ill effects.

MFC after:	3 days
2009-03-25 01:50:56 +00:00
..
aac SVN rev 188743 modified aac_rx_get_fwstatus to use the AAC_RX_OMR0 2009-02-23 18:22:06 +00:00
acpi_support device_shutdown returns int. 2009-02-05 18:39:33 +00:00
acpica Add a function to reset system time after resuming, which will be used 2009-03-23 22:12:33 +00:00
adb Use si_drv1 to hold the softc for the adb_mouse character device instead of 2009-01-29 16:18:49 +00:00
adlink
advansys
ae detach doesn't return an unsinged int, but returns an int. 2009-02-04 20:35:22 +00:00
age Fix inversed logic. pci_find_extcap() returns 0 when it finds 2009-03-23 00:27:46 +00:00
agp vm_offset_t is unsigned and therefore can not be negative. 2009-03-20 18:30:20 +00:00
aha Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag() 2008-10-07 23:55:32 +00:00
ahb
aic
aic7xxx remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
ale Now pci(4) handles PCIM_CMD_INTxDIS so there is no need to poke 2009-03-05 00:04:32 +00:00
amd
amdtemp Fix comment explaining where this driver came from. 2009-03-13 16:43:31 +00:00
amr Move the CAM passthrough code into a true module so that it doesn't have to be 2008-11-03 00:53:54 +00:00
an Shutdown routine returns int. 2009-02-04 20:39:45 +00:00
ar Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
arcmsr Tell CAM that SPI disconnect works, which in turn will let it use tags. 2009-02-20 07:40:54 +00:00
asmc Check for non-existing model DMI string. 2008-11-29 14:20:36 +00:00
asr Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
ata Check the Disk FUNCE recorded in the CIS to see if we should probe for 2009-03-12 06:30:59 +00:00
ath fix build w/ AH_DEBUG 2009-03-24 00:09:35 +00:00
atkbdc Teach psm about O_ASYNC 2009-03-16 08:21:51 +00:00
auxio
bce - Updated firmware to latest 4.6.X release. 2009-03-04 00:05:40 +00:00
bfe
bge - Ensure that INTx isn't disabled, as these chips apparently have a 2009-03-23 14:36:50 +00:00
bktr Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
bm Fix bm_shutdown() KOBJ method to correspond to return int, as it should. 2009-02-04 22:16:27 +00:00
buslogic
cardbus Minorly improved debugging. Use the DEVPRINTF macro and report the 2009-03-13 05:31:27 +00:00
ce Remove debug.ce.mpsafenet: we no longer support running the network 2009-02-15 23:29:13 +00:00
cfe Remove an unused variable to make the SENTRY5 mips kernel compile 2008-12-27 11:38:41 +00:00
cfi choose the size of the last region for d_stripsize instead of the first; 2009-03-10 22:29:42 +00:00
ciss Tell CAM that CISS logical devices support tagged queueing. This fixes 2009-02-20 07:43:43 +00:00
cm Remove unused ifaddr and ifreq local variables. 2009-02-12 23:55:35 +00:00
cmx
coretemp Introduce cpu_vendor_id and replace a lot of strcmp(cpu_vendor, "..."). 2008-11-26 19:25:13 +00:00
cp Remove debug.cp.mpsafenet: we no longer support running the network 2009-02-15 23:18:29 +00:00
cpuctl Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
cpufreq
cs
ct
ctau Remove debug.ctau.mpsafenet: we no longer support running the network 2009-02-15 23:21:52 +00:00
cx if_cx is currently disconnected from the build due to a dependence on 2009-02-19 00:06:01 +00:00
cxgb Minor updates to the Chelsio driver, including removing an LOR. 2009-03-23 19:58:26 +00:00
cy
dc - Set MIIF_NOLOOP and don't add IFM_LOOP as loopback apparently isn't 2009-03-19 22:34:55 +00:00
dcons We need to initialize the console for dcons to work. 2009-03-13 02:15:49 +00:00
de tulip_busdma_cleanup: pass correct vaddr (2nd arg) to bus_dmamem_free() 2009-02-09 17:07:29 +00:00
digi Remove unused files from the digi(4) driver. 2009-01-16 14:45:48 +00:00
dpt
drm Rework the management of vblank interrupts a bit. 2009-03-25 01:50:56 +00:00
e1000 Fix a cut/paste bug which prevents us from setting the average 2009-01-13 00:10:50 +00:00
ed o writereg needs to return a vlue. 2009-03-12 06:35:00 +00:00
eisa
en Hide an unused variable in case we compile with neither INET nor INET6. 2008-11-06 09:41:31 +00:00
ep
esp o Move the MODULE_DEPEND() for cam(4) from the esp_sbus.c front-end to 2008-09-08 20:20:44 +00:00
et
ex
exca __LP64__ is what's defined, not _LP64_, according to the manual (and 2009-03-09 13:29:13 +00:00
fatm Use bus_get_dma_tag() so fatm(4) works on platforms requiring it. 2008-09-30 18:52:43 +00:00
fb Third argument to the vi_mmap_t function is vm_paddr_t *. 2008-11-29 20:16:53 +00:00
fdc Eliminate an unused variable reported by coverity 2008-11-23 23:04:28 +00:00
fe Generalize the workaround for the Hitachi HT-4840-11. The Contec 2009-03-15 02:31:34 +00:00
firewire Reviewed by: scott (scottl@freebsd.org) 2009-03-17 13:07:11 +00:00
flash
fxp remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
gem
glxsb Fix two possible (but unlikely) NULL-pointer dereferences in glxsb(4). 2008-11-17 07:09:40 +00:00
hatm
hifn shutdown returns an int 2009-02-05 19:37:49 +00:00
hme
hptiop Use __attribute__((packed)) for the structure so that hptiop management 2009-03-25 00:57:09 +00:00
hptmv
hptrr
hwpmc - Add support for nehalem/corei7 cpus. This supports all of the core 2009-01-27 07:29:37 +00:00
ic
ichsmb - Change ichsmb(4) to follow the format of all the other smbus controllers 2009-02-03 16:14:37 +00:00
ichwd Rename two functions to make their purpose clearer. Add tons of comments. 2009-03-19 12:39:13 +00:00
ida
ie
ieee488
if_ndis set NULL after free to avoid duplicate free. 2009-03-24 04:20:17 +00:00
iicbus Fix iicbus_intr, iicbus_write and device_read_ivar prototypes... 2009-02-10 22:50:23 +00:00
iir Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
io
ipmi Don't right-adjust the SMBus slave address for SSIF IPMI BMCs enumerated 2009-02-03 16:39:51 +00:00
ips
ipw remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
iscsi/initiator This commit fixes the issue with alias_sctp.c. No 2009-02-14 11:34:57 +00:00
isp Don't try reading the SXP_PINS_DIFF on the 10160 and 12160 SCSI 2008-12-15 21:42:38 +00:00
ispfw Make ispfw(4) play nice with individual firmware modules. 2008-11-11 00:14:10 +00:00
iwi
iwn Remove gratuitous unlock in error case. 2009-03-24 00:08:58 +00:00
ixgb
ixgbe Small nit I just noticed, a pre-decrement should be post. 2008-11-27 02:19:44 +00:00
jme Add HW MAC counter support for newer JMC250/JMC260 revisions. 2008-12-04 02:16:53 +00:00
joy Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
kbd Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
kbdmux Since r188030 the error value for attach is returned, this means if kbdmux 2009-02-13 23:36:08 +00:00
le - Use bus_{read,write}_*(9) instead of bus_space_{read,write}_*(9) etc 2008-09-24 21:26:46 +00:00
led Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
lge
lmc shutdown returns an int 2009-02-05 19:37:49 +00:00
malo remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
mc146818
mca Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
mcd
md Add a new internal mount flag (MNTK_EXTENDED_SHARED) to indicate that a 2009-03-11 14:13:47 +00:00
mem
mfi Change Dell's gen2 catch-all from Dell PERC H700/H800 to Dell PERC Gen2 2008-12-15 17:11:40 +00:00
mge Handle mge(4) chip revision differences at run-time rather then compile time, 2009-01-08 11:09:27 +00:00
mii For IP1001 PHYs, read auto-negotiation advertisement register to 2009-03-09 08:17:46 +00:00
mk48txx
mlx Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
mly Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
mmc read_ivar takes a uintptr_t * not a u_char *. 2009-03-12 06:36:44 +00:00
mn Move mn over. One of the last stragglers in sys/pci. There's no 2008-11-02 17:04:54 +00:00
mpt Make the whole initiator mode part of mpt(4) endian-clean, 2009-01-07 21:52:47 +00:00
mse Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
msk Togging ALLMULTI does not require controller reset so have Rx 2009-03-23 05:46:28 +00:00
mxge Fix cut/paste error in previous commit and use the 2009-02-17 22:25:19 +00:00
my Release driver lock at the end of the watchdog routine instead of trying to 2009-03-23 17:51:07 +00:00
ncv
nfe Fix a typo. 2008-12-20 00:04:04 +00:00
nge
nmdm Make nmdm(4) use MPSAFE callouts. 2008-11-19 21:07:33 +00:00
nsp Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
null
nve writereg returns an int. 2009-02-05 19:33:20 +00:00
nvram
nxge - bump __FreeBSD version to reflect added buf_ring, memory barriers, 2008-11-22 05:55:56 +00:00
ofw Some Apple I2C buses give the device's I2C address in a property with the 2009-03-02 15:22:01 +00:00
patm Remove unused variable. 2008-11-26 13:44:11 +00:00
pbio Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
pccard Remove old compat method that's no longer needed (and hasn't been 2009-03-11 08:15:17 +00:00
pccbb Better name for this routine... it doesn't reset the card, but resets 2009-03-12 06:25:30 +00:00
pcf
pci Don't adjust ranges at all for subtractive bridges. The simple-minded 2009-03-15 06:40:57 +00:00
pcn shutdown returns an int 2009-02-05 19:36:14 +00:00
pdq
powermac_nvram Convert PowerPC AIM PCI and nexus busses to standard OFW bus interface. This 2008-10-14 14:54:14 +00:00
ppbus Make the bit-bang callbacks for i2c implementation match their prototypes. 2009-03-12 06:32:30 +00:00
ppc Added entries for Lava SP-PCI (1 serial + 1 parallel) PCI card. The 2009-02-11 00:08:03 +00:00
pst
puc remove now-redunant cardbus attachment lines. 2009-03-09 13:25:34 +00:00
quicc
ral remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
random Make sure arc4random(9) is properly seeded when /etc/rc.d/initrandom returns. 2008-11-24 17:39:39 +00:00
ray Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
rc
re remove now-redunant cardbus attachment lines. 2009-03-09 13:25:34 +00:00
rndtest
rp Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
safe shutdown returns an int 2009-02-05 19:37:49 +00:00
sbni Disable the inline assembly crc32 routine and use the C version instead. 2008-09-10 18:42:19 +00:00
scc Make iclear return int, since that matches all function definitions of it. 2009-02-05 19:32:34 +00:00
scd
sdhci Add support for interruptless kernel dumping. 2009-02-17 19:12:15 +00:00
sf
si si_cmdname() is defined only when SI_DEBUG is enabled, thus 2009-02-07 02:14:27 +00:00
siba Use some casting to get the right addresses. This is likely unwise 2008-09-26 05:40:56 +00:00
sio remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
sis Receving VLAN oversized frames raise SIS_ISR_RX_ERR interrupt, so 2009-02-13 02:08:20 +00:00
sk
smbus Make generic_intr routines match prototype. 2009-03-09 13:30:00 +00:00
smc
sn
snc
snp Slightly improve the design of the TTY buffer. 2009-02-03 19:58:28 +00:00
sound Remove CD input hack for ALC268 based Acer systems. Latest systems does not 2009-03-16 15:50:29 +00:00
speaker Remove unneeded checks of device unit number from speaker(4). 2009-01-25 09:20:59 +00:00
spibus
sr Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
ste
stg Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
stge
streams The streams ptm code is pretty awful and likely incorrect. I don't know 2009-02-16 20:12:28 +00:00
sym Use xpt_register_async() in order to remove code duplication. 2008-10-14 20:18:57 +00:00
syscons Small cleanup to previous commit. 2009-03-20 14:32:51 +00:00
tdfx Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
ti
tl Fix shutdown prototypes. 2009-02-10 23:17:20 +00:00
trm
tsec tsec(4) cosmetics. 2009-02-17 16:02:45 +00:00
twa Reenable 64-bit DMA for twa(4) controllers, but use a boundary of 4GB to 2009-03-23 19:27:23 +00:00
twe Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
tx Fix shutdown prototypes. 2009-02-10 23:17:20 +00:00
txp bus_dma(9) conversion and make txp(4) work on all architectures. 2009-03-12 01:14:47 +00:00
uart remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
ubsec
usb Fix order of debug printf items, addr and config# were swapped. 2009-03-23 19:10:38 +00:00
utopia
vge remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
vkbd Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
vr It seems there are still issues on multicast perfect filtering. 2008-12-12 01:26:11 +00:00
vx
watchdog
wb
wds
wi
wl
wpi remove references to ic_stats 2009-02-13 16:17:05 +00:00
xe
xen Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
xl remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00