Commit Graph

77214 Commits

Author SHA1 Message Date
fvdl 95178de766 Missed commit from the linux compat changes dealing with setting fs and gs:
copy the PCB fs and gs on fork.
2005-08-04 19:31:53 +00:00
rpaulo 2fcfc4c276 Implemented the kernel part of BPF statistics and BPF peers, net.bpf.stats
and net.bpf.peers sysctls respectively.

A new structure was added to describe the external (user viewable)
representation of a BPF file; a new entry was added to the bpf_d
structure to store the PID of the calling process; a simple_lock was added
to protect the insert/removal from the net.bpf.peers sysctl handler.

This idea came from FreeBSD (Christian S.J. Peron) but while it is
implemented with sysctl's it differs a bit.

Reviewed by: christos@ and atatat@ (who gave me the tip for the net.bpf.peers
sysctl helper function).
2005-08-04 19:30:47 +00:00
fvdl ff4290fdee In pmap_map(), do not do TLB shootdowns. It is only used for kernel dumps,
at which point other CPUs are likely halted, and the addresses mappped
are temporary anyway.
2005-08-04 19:29:26 +00:00
tron 72f9a2a842 Return correct error on all zero length codes. Fix from Gentoo bug 94584. 2005-08-04 14:36:42 +00:00
skrll 47e074fbcd Debug fixes. 2005-08-04 07:51:09 +00:00
skrll bb9f6f5786 Fix a typo. 2005-08-04 06:17:26 +00:00
augustss 055b084f88 Regen. 2005-08-03 23:08:19 +00:00
augustss 6bbb83730c There is no need to include the vendor name in the product description,
so remove some.
2005-08-03 23:08:08 +00:00
augustss 6bc981d36b Regen. 2005-08-03 23:07:23 +00:00
augustss 82cde0f6e0 Add a Dell keyboard. 2005-08-03 23:07:08 +00:00
uwe 6b95067c33 Support HP 620LX. On/off and brightness are the same as in 680.
Contrast control is different but similar enough, so refactor the code
to support both.  Tested by Christer Andersson.

XXX: platid_mask_MACH_HP_LX also matches 360LX.  It's not confirmed
whether touch panel in 360LX is connected in the same way.  We may
need to regroup platid masks.
2005-08-03 22:25:17 +00:00
augustss 97455524f1 Regen. 2005-08-03 21:18:07 +00:00
augustss 8a14d84884 Add a Targus mouse. 2005-08-03 21:17:50 +00:00
gdt e25f2a0d87 Restore to working order; this has apparently been nonworking since
the decapsulator dispatch changes in 2001.  Problems found and fixed
by Christine Jones of BBN.  Specifically:

Check for a packet's protocol to be ENCAP_PROTO, not AF_INET.

Remove one-back cache for last vif, because vif_encapcheck is called
for each vif, rather than being expected to find the appropriate vif.
The cache usage caused packets to be input on the wrong vif and hence
usually dropped.

In vif_encapcheck, verify the local source as well.  While mrouted
endeavors not to create multiple tunnels with a peer, a packet
arriving with the wrong local address is still wrong and should not be
accepted.  (This is a correctness nit, not a security issue.)  Order
checks to fail quickly for packets being checked to see if they match
a vif other than the one they belong on (essentially, check peer
source address in outer header first).

Claim 69 bits of match (32 each from outer src/dst and 5 from checking
that inner dst is within 224/5).  This should result in the vif having
a higher priority for multicast packets compared to a parallel gif(4)
tunnel, and that both seems appropriate if both are configured and
seems to match the semantics expected by the decapsulator dispatch
machinery.

(These changes were made in 2.99.15 and about a dozen nodes are
running them with many vifs.  ip_mroute.c has not changed
significantly since then (February 2005) and the changes applied
cleanly to current and compile cleanly.)
2005-08-03 18:20:11 +00:00
elad 5b5c5125f4 Change how we handle duplicates in the signatures file.
Just give collision information (filename, device, inode, old and new
entry type and algorithm, and note if the fingerprint is the same or not.
2005-08-03 18:05:16 +00:00
shige 9bc1bf15c8 Add md-kernel for installation: INSTALL_OPENBLOCKS266. 2005-08-03 14:55:37 +00:00
onoe 5c08c84474 Fix mbuf leak in nfssvc_nfsd(). 2005-08-03 06:25:11 +00:00
elad 6e4a854552 Support multiple entry types. Direct, indirect, and file can now be
combined in the signatures file using commas.
2005-08-02 16:14:10 +00:00
kent 969266b7d7 * azalia_mixer_init()
set AUDIO_MAX_GAIN/2 to all of volume items.
2005-08-02 13:20:50 +00:00
kent 98532e5e3e - handle widgets without `format override' or `amp param override'
- support for volume knob
2005-08-02 11:17:56 +00:00
macallan af63a6798e fix a stupid typo 2005-08-02 01:35:05 +00:00
macallan ddb036e135 disable mmap()ing the framebuffer at offset 0 on sparc64 because some ATI
firmware likes to put PCI memory resources into this range, notably a Rage
IIc which puts the 2nd register aperture to 0x2000.
This should allow a few graphics chips to work with XFree86 which previously
failed with something like this:
(WW) ATI:  PCI/AGP Mach64 in slot 2:5:0 could not be detected!
No devices to configure.  Configuration failed.

Thanks to Florian Stoehr for doing most of the work tracking this down.
2005-08-02 01:32:13 +00:00
skrll cbdc27bb6a - Match more product ids.
- Don't initialise ic_phytype twice and do initialise ic_state.
- announce available rates.
- mark interface down if firmware crashes for the radio transmitter
  gets turned off.
2005-08-01 15:14:54 +00:00
skrll 8f0372bc09 Debug code tidy up. 2005-08-01 15:00:24 +00:00
shige 2583f14538 Remove all IDE controllers except for hptide. 2005-08-01 13:02:00 +00:00
christos bce5269120 Move extern kernel variable declarations, into a _KERNEL protected session
so that the don't pollute userland's namespace.
2005-07-31 20:18:32 +00:00
kent b5db3a23de - make sure the power state of a node is D0
- ignore unsoliticited responses
2005-07-31 06:48:15 +00:00
yamt 97d20debb1 regen. 2005-07-31 04:05:25 +00:00
yamt 38ca5312d2 revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
2005-07-31 04:04:30 +00:00
nakayama 588f33c33a Get AC/battery state via config_hook_call if hooks are registered. 2005-07-30 22:51:42 +00:00
nakayama 8ff59f4fc0 Add LCD brightness control keymaps and correct some key assigns for
Sharp Telios series.
2005-07-30 22:45:13 +00:00
nakayama 2911078947 Add LCD and battery control support for Sharp Telios series. 2005-07-30 22:40:33 +00:00
christos 5fc171f88e Partially fix. Now it comes up, associates with wep, but something is wrong
with tcp since it crashes in wep encryption when I cvs update.
2005-07-30 21:15:51 +00:00
mhitch 7bf06e6ec1 The handler for the periodic ENQUIRY command was not unmapping the ccb
data buffer, which left stale flags which caused Alpha ES40 crashes.  Add
the mlx_ccb_unmap() call and the ES40 now runs with > 1GB memory.
2005-07-30 17:37:11 +00:00
mhitch 2e8c0b59d2 Check for stale flags in the DMA map. This was causing crashes on an ES40
with more than 1GB of memory due to a bug in one of the drivers.  From
Jason Thorpe.
2005-07-30 17:25:51 +00:00
chris 195158eb08 When the footbridge does a bus space mapping it should default to
making the mapping not cacheable, and only allow caching if the relevant
flag is passed in.

This doesn't seem to fix, or break anything, but it matches the expected
bus space API.
2005-07-30 15:14:29 +00:00
christos 2709ce754e Fix compilation with FD_DEBUG. 2005-07-30 14:49:35 +00:00
wiz ed1153a3aa Fix typo reported in PR 30872. 2005-07-30 11:11:46 +00:00
yamt 8609a4e161 regen. 2005-07-30 06:37:15 +00:00
yamt 558fded29a add "options VMSWAP" to non INSTALL kernels. 2005-07-30 06:35:34 +00:00
yamt 1d0891101c defflag VMSWAP. 2005-07-30 06:33:33 +00:00
skrll acd7c4c5ca Add a driver for Cypress microcontroller based USB serial adapters.
XXX hw flow control is not supported.
2005-07-30 06:14:49 +00:00
grant 7dab65d668 regen 2005-07-30 01:14:51 +00:00
grant d48996a15a use same form for secondary display as other ATI devices 2005-07-30 01:14:38 +00:00
grant 4201215f6f regen 2005-07-30 01:13:23 +00:00
grant c9944d0dc8 add some device ids for the ATI Radeon 9200 Pro. 2005-07-30 01:12:59 +00:00
elad f73e4c7b31 Simplify previous commit. 2005-07-29 22:57:34 +00:00
elad 3c0a7f641b Use real executed program in logs instead of the script that was executed.
For example, this used to give false logs of matching fingerprint for
foo.sh while foo.sh don't have an entry, and the program executed (and
matching the fingerprint) is the interpreter - /bin/sh.
2005-07-29 22:37:11 +00:00
kent a69b665329 make this compile with AZALIA_DEBUG.
thanks to cube@
2005-07-29 16:20:53 +00:00
elad 780e38584a VERIFIED_EXEC_DEUBG{,_VERBOSE} is obsolete.
XXX: Too bad we can't have some MI config file. :)
2005-07-29 14:57:30 +00:00