Commit Graph

191124 Commits

Author SHA1 Message Date
pooka 5e918e3804 Add a comment describing an observed boom-crash-burn problem in
the code.  Fixing it will require a full tank of gas, half a pack
of cigarettes, sunglasses, darkness, and most importantly:
someone else.
2010-05-25 11:02:07 +00:00
pooka 2289d19ea3 Don't double unlock fvp if source file disappears during rename.
Problem found by njoly's awesome stresstester.
2010-05-25 10:15:34 +00:00
cegger 728cb2c017 build fix: revert rev. 1.51 2010-05-25 08:50:54 +00:00
pgoyette 2d953f414b Revert earlier changes to callers of pci_find{vendor,product} since
the original routine entrypoint name has been restored.

Requested by dyoung@ and mrg@
2010-05-25 08:37:10 +00:00
pgoyette 2ac5480827 Update libpci for change in pci_find{vendor,product} entrypoint names. 2010-05-25 08:35:47 +00:00
pgoyette 9b115d0bac Rework the pciverbose module dispatch vectors to avoid renaming the
externally-visible entrypoint name.  Also this avoids a potential
need to bump kernel version.

Requested by dyoung@ and mrg@
2010-05-25 08:35:45 +00:00
jklos 4caa45f4e0 For some reason the 6502 clock detection routine takes 1553 iterations
of the delay loop to finish on a normally clocked A2232.
2010-05-25 02:21:30 +00:00
msaitoh 27466e6c67 Fix the names of 82577L[MC] LAN controllers (for mobile).
Fix typo.
2010-05-25 01:17:55 +00:00
agc 352d609304 WARNS=5 now 2010-05-25 01:06:41 +00:00
agc d427c17d1e Simplify and shorten the internals of packet processing by getting rid of
the intermediate pseudo-abstraction layer, which detracted from understanding
and had no benefit whatsoever. Rename some enums and some definitions.
2010-05-25 01:05:10 +00:00
sjg 3e3df25ba3 Don't missinterpret targets that start with .info 2010-05-24 21:04:49 +00:00
pgoyette 1365824bee Adapt libpci build to include new pci_verbose.c 2010-05-24 20:31:17 +00:00
pgoyette b18bc9eab4 Update all callers of the pci_find{vendor,product} routines to now call
these routines through their global pointers.
2010-05-24 20:29:49 +00:00
pgoyette 72a7c70b78 Extract the vendor/product tables and related access routines into a
separate kernel module.  Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel.  On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.
2010-05-24 20:29:40 +00:00
mrg 4709322f7b Note xsrc Xorg package updates, and radeondrm(4) updates. 2010-05-24 20:02:39 +00:00
pgoyette c77c96962b Move definition of module_load_vfs_vec from kern_module_vfs.c to
kern_module.c - keeps rump happy.

Thanks, pooka!
2010-05-24 16:37:17 +00:00
pgoyette c269eb06dd Clean up kern_module.c rev 1.66, thanks to pooka@ for review & suggestions 2010-05-24 15:34:48 +00:00
lukem 43b2175b78 fix MKDEBUG=yes for X11R7 libs 2010-05-24 14:04:04 +00:00
martin 527781be00 Make C declarations match assembler reality: ipi functions get two arguments
(which most of them (partly) ignore, but anyway).
2010-05-24 09:49:17 +00:00
mrg 280989eb06 use round_page() for PAGE_ALIGN(). from Onno van der Linden
<o.vd.linden@quicknet.nl> in PR#38700, though apparently i didn't
commit it way back when i closed that bug.  oops?
2010-05-24 08:51:53 +00:00
veego 7c66f95e1b Replace __appmansuffix__ in fsconfig.cpp 2010-05-24 05:30:40 +00:00
pgoyette 2c4465aaa0 Protect against attempting to load modules from the filesystem until we
have mounted the root file-system.  This allows us to load built-in and
boot-loader-provided modules much earlier during startup.
2010-05-24 03:50:25 +00:00
mrg cb41b2ef42 this needs <machine/psl.h> for PSTATE_AM on 32 bit kernels. 2010-05-24 02:19:10 +00:00
mrg bcf0a7d7e9 add r600_blit.c and radeon_cs.c. 2010-05-24 01:57:06 +00:00
mrg 4351b00b10 implement DRM_RADEON_CS ioctl, necessary for r600_dri to function.
this is mostly from freebsd (though it also exists in other versions
of the drm code) svn commits:

--
SVN rev 196470 on 2009-08-23 14:55:57Z by rnoland

Add kernel support for Radeon R6/7xx 3D.

You will still need Mesa from git and possibly an updated DDX driver,
but this is working fairly well now.
--
SVN rev 196142 on 2009-08-12 12:57:02Z by rnoland

Add support for radeon RS880 IGP chips to drm.
--
SVN rev 195501 on 2009-07-09 16:39:28Z by rnoland

Add support for Radeon HD 4770 (RV740) chips.
--
SVN rev 196471 on 2009-08-23 15:02:58Z by rnoland

Add GET_PARAM support for Z pipes.

This is needed for occulsion queries on rv530 chips.
--
SVN rev 198695 on 2009-10-30 18:07:22Z by rnoland

A bit of cleanup work on radeon_freelist_get()

  * Fix the main loop to search all buffers before sleeping.
  * Remove dead code
--
SVN rev 197606 on 2009-09-28 22:41:28Z by rnoland

Fix offset handling
--
SVN rev 197605 on 2009-09-28 22:40:29Z by rnoland

radeon_family is an enum, so ordering can be important.

sync up with what amd is shipping.
--
SVN rev 197603 on 2009-09-28 22:37:07Z by rnoland

R600 doesn't support IRQs yet, so don't try to use them.
--

special thanks to robert noland @ freebsd for making this an
easy port!
2010-05-24 01:39:06 +00:00
joerg 52bf796fd6 Explicitly quote | and : meant as separate operator. Kill trailing
whitespace. Don't use \Z' with obscure character entity. Reorder sections
to canonical order.
2010-05-24 00:29:30 +00:00
jym 0ae4c88a36 PRIxPADDR instead of %lx to print bus_addr_t/paddr_t variables. 2010-05-23 23:53:36 +00:00
jym 603ac9bd31 Cast the sum of iobase and iosize to long, not just iobase. Avoids size
warnings during build when bus_addr_t is 64 bits.
2010-05-23 23:50:37 +00:00
mrg 2cc35fcdb7 these depend upon libdrm_radeon now. 2010-05-23 23:21:30 +00:00
christos 245822f743 simplify the debugging code and make it more informative. 2010-05-23 22:06:38 +00:00
christos 208ad48907 no need for double the newlines! 2010-05-23 22:05:54 +00:00
christos cbc22ad229 - centralize the snprintf code.
- use err where appropriate.
- add machclass which should be x86 when i386 and amd64 and can be specified
  in man.conf as:
	_i386	x86
	_amd64	x86
  so that we can support merged pages. Nothing uses this yet.
2010-05-23 22:04:36 +00:00
veego e6aea5bc19 Replace UTMP_FILE and WTMP_FILE for Xstartup here and not in the cpp file
to make a xdm update easier.
xdm was updated but the local change in Xstartup.cpp was lost.
2010-05-23 21:35:35 +00:00
mrg a85bea796f updates for Mesa 7.7.1. 2010-05-23 21:32:50 +00:00
veego d6cf4a0fd0 Use ${XDMPIDDIR} and ${XDMLOGDIR} from ../xdm/Makefile.xdm instead of
hard coding the path here.
2010-05-23 21:31:57 +00:00
mrg 3172c38b29 build fixes for Mesa 7.7.1. introduce r600 driver! 2010-05-23 21:31:52 +00:00
veego 7f287d45d8 Remove a / between a ${DESTDIR}${X11USRLIBDIR} which would result in a
double /
2010-05-23 21:23:59 +00:00
martin cbe63f6ddd Add ucas_32 and ucas_64 functions - untested. 2010-05-23 19:54:17 +00:00
christos a39b0c6ef3 Add entry for:
Intel(R) Core(TM)2 Duo CPU     P9500  @ 2.53GHz
2010-05-23 19:00:28 +00:00
christos 32e80c5d9d Revert all previous kmem_ commits. This needs to be done in a different way
because we cannot call kmem_ from an interrupt context. I opened PR/43341 for
it.
2010-05-23 18:56:58 +00:00
martin 6c32c1192c Split copy related functions out of locore.s into copy.S, move functions
only needed on multiprocessors into mp_subr.S.
2010-05-23 18:49:14 +00:00
veego c3c7ed4b96 It seems something changed with the 'newer' yacc.
Rename y.output in CLEANFILES to aslcompilerparse.output
2010-05-23 14:08:05 +00:00
veego c005cd37bb Add ${PROG}.syms to CLEANFILES 2010-05-23 13:59:12 +00:00
nonaka 250a759ede Added WS020SH keymap. 2010-05-23 11:57:04 +00:00
nonaka 68dd400742 Added Support SD card insert/remove detection for WS020SH. 2010-05-23 11:53:18 +00:00
nonaka ead0f77ecb Added some WS020SH specific parameters. 2010-05-23 11:49:16 +00:00
mrg b5c0d25529 obsolete vga.4 like other ports. as noticed by kurt schreiner. 2010-05-23 10:50:28 +00:00
mrg 576740c1b8 delete most of this file; it is obsolete 2010-05-23 10:45:04 +00:00
mrg d4005d5baa updates for xf86-video-vmware 2010-05-23 06:41:19 +00:00
mrg aa57a3fc7c build vmwlegacy and vmware modules as per- 11.0.1. 2010-05-23 06:37:32 +00:00