Commit Graph

157842 Commits

Author SHA1 Message Date
reinoud c553649c20 Disable hardware scrolling for now :( It *can* trap on rare occations. Most
likely interrupt related; It might need to be protected by spl().

Disabled as a precaution until the problem is solved.
2007-03-24 00:23:05 +00:00
hubertf 47665376cc backout previous. 2007-03-24 00:17:34 +00:00
reinoud ef34b019ed Implement hardware scrolling in vesafb by utilising the whole frame buffer
memory and scrolling trough it. If the hardware is not capable it will
disable hardware scrolling.

For 640x480 at 8 bpp the speedup is around 4 times, at 1280x1280 at 32 bpp
the speedup is around 9.4 times.

Checked and OK'd by Jared McNeill. Thanks go to Jared and Michael Lorenz
for their tips and vcons knowledge!
2007-03-24 00:07:17 +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
drochner 5a0b1292cf add __BEGIN_DECLS/__END_DECLS so that this can be used from c++ libs
(there is code out there -plib/flightgear- which tries this)
2007-03-23 21:37:45 +00:00
dsl 0fd75511ad Delete some stuff that has been commented out for over 12 years, and
some that shouldn't have been left commented out when the field got moved.
2007-03-23 21:00:25 +00:00
dogcow 5eb224a2d3 the last of caddr_t in sys/, save for netbsd32_caddr_t and the like. 2007-03-23 20:05:47 +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
ad bb25376cda Fix a deadlock w/kqueue that was introduced with the last set of changes.
Spotted by yamt@.
2007-03-23 18:33:43 +00:00
macallan cc085574cb caddr_t -> void * 2007-03-23 17:35:02 +00:00
hubertf 137520cdea Call the pivot root by it's name. 2007-03-23 16:42:27 +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
vanhu 2af4eed892 From Joy Latten: fix a segfault when using security labels between 32bit and 64bit host. 2007-03-23 15:43:19 +00:00
vanhu 38a126966c fixed a segfault when using security labels between a 32bit and a 64bit host 2007-03-23 15:43:18 +00:00
vanhu 27934310cd expire zombie handlers in getph2byid(), to avoid situations where we'll never negociate a phase2 again 2007-03-23 15:34:31 +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
liamjfoy 884675b030 Document net.inet6.ip6.hashsize to control the IPv6 Fast Forward hash table 2007-03-23 14:32:45 +00:00
liamjfoy a3580ff06f Add a new sysctl net.inet6.ip6.hashsize to control the hash table size.
The sysctl handler will ensure this value is a power of 2

ok dyoung@
2007-03-23 14:24:22 +00:00
is f37ee586c8 Fix typo, which prevented DHCP network configuration from discovering the
machine name.
2007-03-23 12:51:03 +00:00
njoly 1f4051d826 Fix generated file names from makesyscalls.sh (s/linux/linux32/).
From Edgar Fuß in PR/35956.
2007-03-23 12:26:10 +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
vanhu 1046a9e619 From Cyrus Rahman: give more details about what is checked when using certificates to authenticate 2007-03-23 09:57:29 +00:00
vanhu a1d41ca41d give more details about what is checked when using certificates to authenticate 2007-03-23 09:57:28 +00:00
lukem a37dc4c07f Add: lfs_cleanerd
Suggested by Blair Sadewitz

Add: grep egrep fgrep zgrep zegrep zfgrep
Suggested by George Michaelson
2007-03-23 05:48:34 +00:00
mrg 2cdaa49944 implement emul.linux.kern.machine, which can be set to "i686", like
some applications seem to want.
2007-03-23 04:16:13 +00:00
jnemeth 491de95b00 move common from src.tgz to syssrc.tgz as discussed on tech-install 2007-03-23 02:57:30 +00:00
uwe 7220e7517c We don't need SYMTAB_SPACE. 2007-03-23 02:19:17 +00:00
xtraeme 3cd917fe6c Use void * rather than caddr_t to fix the build. 2007-03-22 23:35:00 +00:00
dillo 77409ce510 Bump date for previous. 2007-03-22 21:29:33 +00:00
christos b98f564e9f prevent caddr_t use in the kernel so that it does not creep in again. 2007-03-22 18:00:39 +00:00
pooka 4d66dc22ec puffs_cred.{0,3} 2007-03-22 17:41:30 +00:00
pooka 406a946463 document credentials & access control methods 2007-03-22 17:38:09 +00:00
pooka cfd6dc233f allow kernel creds in addition to superuser creds when checking for access 2007-03-22 17:15:34 +00:00
pooka 27eb6005d2 reflect libpuffs change of puffs_access argument unification 2007-03-22 16:59:34 +00:00
pooka d28a42812b unify the location of *pcr in puffs_access_* 2007-03-22 16:57:27 +00:00
pooka 3a93377a23 copy ngroups * sizeof(gid_t) groups instead of just ngroups 2007-03-22 15:48:42 +00:00
pooka c3a2affb84 * return -1 and set errno instead of returning errno directly
* introduce puffs_cred_isregular() which checks if the cred structure
  has regular uid/gid (i.e. "person" credentials and not kernel creds)
2007-03-22 15:32:22 +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
pooka 1d029cc056 remove variable names from header 2007-03-22 14:22:08 +00:00
pooka 94b72e4fc4 If we have to do a stat in lookup, update time of last stat for
the new node to avoid a most likely immediate stat from the server.
2007-03-22 13:43:58 +00:00
dillo 2e201492a9 Remove offset argument, no longer needed. 2007-03-22 13:31:05 +00:00
dillo 41627b2c38 Add support for HFS Wrapper (HFS+ volume inside an HFS volume).
Remove offset argument, we should now find an HFS+ volume in any
of its standard places.

Based on work from and test image provided by Pelle Johansson.
2007-03-22 13:21:28 +00:00
dillo 30f474b9e1 Add support for HFS Wrapper (HFS+ volume inside an HFS volume).
Remove offset argument, we should now find an HFS+ volume in any
of its standard places.
2007-03-22 13:21:27 +00:00
dillo 081267c306 Add a few. 2007-03-22 13:20:13 +00:00
pooka 7517e20c03 In case lookup from the directory listing fails, try statting the
target before giving up.  Makes it possible to access files from
-r+x directories.
2007-03-22 13:11:00 +00:00