Commit Graph

21986 Commits

Author SHA1 Message Date
mishka
2f5bd28732 Revert previous commit until further investigation because it is
known as problematic.  Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).
2007-04-04 14:50:21 +00:00
rmind
084180cb58 drm_do_addbufs_pci: Fix the mess of malloc()s and free()s, which
do not accept NULL arguments.
Found via CID: 4439
2007-04-04 00:30:58 +00:00
macallan
f5a25c2db5 regen 2007-04-03 03:33:54 +00:00
macallan
8ec5fb10e2 add 1680x1050 @ 60.00Hz 2007-04-03 03:33:41 +00:00
mishka
933b97ecac Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.
2007-04-02 10:01:31 +00:00
christos
e6e1d4eb1a PR/36102: Yojiro UO: Restore revision 1.142's way of reading the descriptor
because uplcom hangs otherwise. Also reported by Anon Ymous.
2007-03-30 16:52:12 +00:00
dillo
46009d7e0f Fix include paths. Now all drm drivers build. 2007-03-29 13:09:48 +00:00
jmcneill
e741359891 Fix include paths, mgadrm compiles now. 2007-03-29 11:42:39 +00:00
jmcneill
4ce279101e In drm_remove_magic, free the magic entry when it is found instead of
attempting to free a NULL reference in the error case. From Yorick Hardy.
2007-03-29 11:31:06 +00:00
jmcneill
11827f045a Introduce options DRM_NO_AGP and DRM_NO_MTRR, so I can run this on
platforms that don't provide these services.

In drm_mmap, don't wrap the return value with atop() if we're on macppc.

While we're here, fix:
	pci_intr_establish(&dev->pa.pa_pc, ...);
to:
	pci_intr_establish(dev->pa.pa_pc, ...);

The former doesn't even compile on macppc, and I'm amazed that it works at
all anywhere else.
2007-03-28 11:29:36 +00:00
jmcneill
f99eecc8b2 Make this compatible with tdfxdrm. 2007-03-27 22:44:42 +00:00
jmcneill
1cd076928b Instead of having a lookup table of devices that support AGP V3, use the
capabilities register to determine the chipset's supported AGP mode. We
still fallback to V2 compatibility mode when necessary.
2007-03-27 20:57:46 +00:00
salo
1eaca7c5df fix typos in last, Eratta->Errata 2007-03-27 13:13:49 +00:00
pooka
92f2958999 regen 2007-03-27 12:42:31 +00:00
pooka
4823cfcfaf add GeForce Go 7600 2007-03-27 12:41:39 +00:00
msaitoh
f727e5ef27 Workaround for 82541 Eratta 29 and 82547 Eratta 28.
These devices have to reset the PHY before reset the MAC.

Reported and tested by salo.
2007-03-27 01:56:41 +00:00
jmcneill
68557987f6 Add AGPv3 support to VIA AGP driver from FreeBSD.
I can now use DRI w/ AGP enabled on my r300.
2007-03-27 00:34:16 +00:00
garbled
47dfabcdf7 Add support for VIA V-TECH ata raid. Tested on 4.0 with RAID0, RAID1 and
SPAN over a pair of sata drives on a VT8237A SATA Controller.
2007-03-27 00:10:20 +00:00
garbled
4398c0d8cd The VT8237A SATA Controller uses chip_map_7, not 0, tested and confirmed
working on my machine.  Also when a via controller is set to RAID mode,
it sets the pci_subclass to raid.  Notice this and set ATAC_CAP_RAID.
2007-03-27 00:04:04 +00:00
hubertf
9446dc7bf8 Remove duplicate include of <sys/agpio.h>
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:42:39 +00:00
xtraeme
6fac3c8e51 Fix a typo getting the fan values, it was using incorrect uid. 2007-03-26 07:27:36 +00:00
xtraeme
1af43bae06 aiboost_getcomp: fix memcpy and use the length provided by the ACPI Object.
aiboost_refresh_sensors: fix a debugging printf.
2007-03-26 04:22:28 +00:00
macallan
60cbbfdc51 add very experimental Apple UniNorth AGP driver 2007-03-25 23:32:40 +00:00
macallan
7325f7959a very experimental Apple UniNorth AGP support 2007-03-25 23:31:51 +00:00
mlelstv
46e95ff4ed add missing W coordinate 2007-03-25 20:28:03 +00:00
mlelstv
f4a46a86ea Handle events from passthrough devices like the Thinkpad 'Navistick'. 2007-03-25 16:26:41 +00:00
isaki
f6b15a715e Regen; ATI ES1000. 2007-03-25 06:42:20 +00:00
isaki
4185e7fad0 Add ATI ES1000. 2007-03-25 06:41:30 +00:00
christos
bf9f72425e comment out unmap; breaks X. 2007-03-24 23:02:24 +00:00
jmcneill
04a1167b6f Fix header locations for NetBSD. 2007-03-24 20:33:08 +00:00
jmcneill
881e272543 Include dev/pci/drm/files.pcidrm 2007-03-24 15:04:43 +00:00
jmcneill
80411c1546 Separate DRM files from files.pci 2007-03-24 15:04:10 +00:00
jmcneill
e6e6c988b3 Allow viadrm to attach to unichromefb 2007-03-23 22:17:52 +00:00
jmcneill
e44f79d0d5 Make unichromefb(4) peacefully co-exist with viadrm(4).
Basically, when we switch from WSDISPLAYIO_MODE_EMUL to anything else, we
release any bus_space resources. When we return to WSDISPLAYIO_MODE_EMUL,
reclaim these resources and reinitialize the display.

Idea from macallan@
2007-03-23 22:17:30 +00:00
drochner
27622eb242 Work around imperfect hub emulation in the ehci root hub (ohci is affected
too, but that's not critical): real hubs send port status change
notifications until acknowledged, ehci/ohci send only once so there is
a chance that this gets lost if notifications are disabled during a scan.
The temporary fix is to force a rescan; the real fix will involve a
change in interrupt handling in ehci/ohci which needs more work and
testing.
ehci is critical because a port status change during scan regularely
happens if a full/lowspeed device is connected, due to the handover
process.
Fixes a problem where full/lowspeed devices were not reattached after
a disconnect, reported by Kouichirou Hiratsuka and Juan RP
on current-users.
2007-03-23 21:51:34 +00:00
dogcow
1aec633c29 caddr_t -> char *, even though it's in #ifdef __FreeBSD__ sections, just
so grep -r won't show it any more.
2007-03-23 20:01:45 +00:00
drochner
ca93d5d12d simplify previous: no need to call pci_mapreg_info() 2007-03-23 16:39:07 +00:00
jmcneill
046c275369 Initialize mmadrsize in the non-i910 case, otherwise we end up passing an
uninitialized variable to bus_space_unmap.
2007-03-23 16:27:59 +00:00
jmcneill
aeb34d786e Add viadrm 2007-03-23 15:00:38 +00:00
jmcneill
c36fda54e9 Import viadrm(4) from DRI git. 2007-03-23 14:58:55 +00:00
drochner
f67e2cbf66 Free ressources more agressively.
(The natural place for this would be on each close, but we don't have
a driver entry point for this.)
from Yorick Hardy
2007-03-23 11:06:31 +00:00
xtraeme
3cd917fe6c Use void * rather than caddr_t to fix the build. 2007-03-22 23:35:00 +00:00
jmcneill
3b4d961fa2 Re-enable writeback test (shouldn't have been disabled in the first place) 2007-03-22 15:17:59 +00:00
jmcneill
7126d77514 Newline after foodrm0 at vga0 message. 2007-03-22 15:14:20 +00:00
jmcneill
846be51501 Pull up misc radeon bug fixes from DRI. 2007-03-22 01:36:42 +00:00
jmcneill
48e45911b6 printk -> printf 2007-03-21 22:44:28 +00:00
jmcneill
4683f1b535 Pass a proper vaddr to uvm_mmap. 2007-03-21 22:24:57 +00:00
jmcneill
ccbe7856ca Initialize extra AGP resource slots. 2007-03-21 22:16:45 +00:00
jmcneill
0f6e823d07 In drm_ioremap, provide extra slots for mapping AGP memory space; it's not
reasonable to assume that these regions will show up in a VGA BAR.
2007-03-21 22:15:59 +00:00
macallan
1c4c684256 try to attach a drm 2007-03-21 20:54:30 +00:00