Commit Graph

76570 Commits

Author SHA1 Message Date
augustss 95ba7bf87a Add Hosiden ParaParaParadise. From kern/30554. 2005-06-19 10:25:36 +00:00
kent ca51d2ecb9 partial support for mixer.
Still we have no ways to specify DACs or ADCs.
2005-06-19 07:42:39 +00:00
enami 0c35ace672 Actually, usbd_trim_spaces was not writing to const memory, so revert
unnecessary changes.  Instead, make the caller code easier to read.
After all, it is enough to suppress warning due to constfy.
2005-06-19 04:01:36 +00:00
thorpej 6d92e51b72 - Do away with the old _SPLRAISE() template macro. Instead, provide an
splraise() inline function, and define the various spl routines in terms
  of splraise().
- Use ANSI function decls.
2005-06-19 01:54:51 +00:00
thorpej c5e282784a Fix some whitespace. 2005-06-19 01:16:01 +00:00
chs d4b8dc7f15 uncomment hme, add more missing NICs. 2005-06-19 00:23:43 +00:00
martin 40860f4eb5 Do not use -Wreturn-type with gcc 2.95.x 2005-06-18 22:56:02 +00:00
jdc e5ec393002 Add UK keyboard map. 2005-06-18 20:35:36 +00:00
chs e34855484a add missing NICs, uncomment firewire stuff. 2005-06-18 17:34:54 +00:00
chs 0f0104b6a9 alphabetize. 2005-06-18 17:34:18 +00:00
chs 4dd0fe2ab5 add txp. uncomment the firewire stuff. 2005-06-18 16:12:19 +00:00
chs fc00645356 adapt to const/volatile changes. 2005-06-18 16:10:44 +00:00
kent 77ab74c241 correct some position names. 2005-06-18 11:22:12 +00:00
kent e8e1a2ca9a An audio driver for High Definition Audio.
The driver is highly experimental at this moment:
 - limieted support for playback
 - support for no mixer controls
 - support for no recording
2005-06-18 10:43:47 +00:00
kent ab125bd85d A driver for High Definition Audio.
The driver is highly experimental at this moment:
 - limited support for playback
 - no support for mixer controls
 - no support for recording
2005-06-18 10:43:46 +00:00
thorpej 9616fa6458 Fix some locking issues:
- Make the locking rules for pr_rmpage() sane, and don't modify fields
  protected by the pool lock without actually holding it.
- Always defer freeing the pool page to the back-end allocator, to avoid
  invoking the pool_allocator with the pool locked (which would violate
  the pool_allocator -> pool locking order).
- Fix pool_reclaim() to not violate the pool_cache -> pool locking order
  by using a trylock.

Reviewed by Chuq Silvers.
2005-06-18 01:34:03 +00:00
atatat efb4270746 Comment in new cp_id implementation was wrong since I abandoned
rewriting it in favor of some testing and then never got back to it.
It's better now.
2005-06-17 23:53:21 +00:00
elad 97d75abb70 Oops. Don't allow file delete even if it's not monitored if we're in
lockdown mode (strict level 3).
2005-06-17 22:39:08 +00:00
elad ad7b01f7d0 More veriexec changes:
- Better organize strict level. Now we have 4 levels:
  - Level 0, learning mode: Warnings only about anything that might've
      resulted in 'access denied' or similar in a higher strict level.

  - Level 1, IDS mode:
    - Deny access on fingerprint mismatch.
    - Deny modification of veriexec tables.

  - Level 2, IPS mode:
    - All implications of strict level 1.
    - Deny write access to monitored files.
    - Prevent removal of monitored files.
    - Enforce access type - 'direct', 'indirect', or 'file'.

  - Level 3, lockdown mode:
    - All implications of strict level 2.
    - Prevent creation of new files.
    - Deny access to non-monitored files.

- Update sysctl(3) man-page with above. (date bumped too :)

- Remove FINGERPRINT_INDIRECT from possible fp_status values; it's no
  longer needed.

- Simplify veriexec_removechk() in light of new strict level policies.

- Eliminate use of 'securelevel'; veriexec now behaves according to
  its strict level only.
2005-06-17 17:46:18 +00:00
hannken e018f80e47 Avoid shadow warnings, const and __UNVOLATILE().
Kernel sparc/GENERIC.MP builds again.
2005-06-17 09:13:56 +00:00
jmc 016a928508 Shadowing and const fixes. 2005-06-16 22:45:46 +00:00
jmc 61f16670a4 Fixes for volatile problems 2005-06-16 22:43:36 +00:00
bouyer cf4b00e2e4 Remove a (wdc == NULL) test. We know wdc is not NULL at this point. 2005-06-16 20:15:04 +00:00
bouyer 69baf4357d Use pmatch() metacharacters to match both SATA and PATA versions of seagate
drives in the quirk table.
2005-06-16 20:03:35 +00:00
bouyer 5494975684 Add quirk for SIS 96x that masquerade as a SIS503. Based on patch sent by
Robert Fuller in kern/30431, information found in the linux kernel.
While here, add SIS 965 to the table (from FreeBSD).
2005-06-16 19:30:02 +00:00
jmc 971a01a036 Rename a shadowed variable 2005-06-16 17:04:53 +00:00
elad a3c81f769c Since NetBSD operates in securelevel -1 by default, don't rely on the
securelevel alone when checking if the veriexec tables can be modified;
also check if the strict level is above 0.
2005-06-16 15:45:48 +00:00
elad 27cb371b94 Don't allow unprivileged users to open the veriexec device.
While I'm here, explicit 'int' for 'veriexec_device_usage'.
2005-06-16 15:41:36 +00:00
christos dfa8191fb3 Add a new sysctl 'cp_id' that returns the array of cpu id values. Requested by
me, implemented by atatat.
2005-06-16 14:55:58 +00:00
yamt 91fa31b5d2 uipc_usrreq: plug mbuf leak. 2005-06-16 14:36:42 +00:00
tsutsui 8e9e66997f Rename iha_pci_probe() -> iha_pci_match() because we don't have to
probe PCI devices.
2005-06-16 14:32:09 +00:00
christos 47429afbb8 Return the beginning of the string, not the end. 2005-06-16 12:55:25 +00:00
bouyer 15ce68ccd1 Allow compiling a domain0 kernel with vga but without pckbc, and add
console support for USB keyboard. Problem pointed out by Karl Janmar on
port-xen.
2005-06-16 10:58:52 +00:00
martti ec63076a4b Added LBA48 quirk for Seagate ST3200822AS. Tested by Teemu Rinta-aho. 2005-06-16 05:47:17 +00:00
he 970b620d42 Adapt to changed signature of cpu_coredump32(). 2005-06-16 05:38:43 +00:00
briggs 7f01fdeb84 Rename 'ncpus' to 'sparc_ncpus' to avoid shadow warnings in m.i. code.
Also sprinkle an __UNVOLATILE() for sparc.
n.b. sparc64 'cpus' should probably be renamed to 'cpu_info_list' to
     match i386 et al.
2005-06-16 04:17:49 +00:00
seb bc1b24046b Add missing entries in cache information array for, at least,
Pentium M 770, 760, 750, 740 and 730.

Approved by mrg@
2005-06-16 00:04:25 +00:00
bouyer 6b930c6d27 Add support for x86 boot flags:
-s boot single user
-a ask root device
XXX -d is ifdef'd out for now, it cause early panic (no console message).
2005-06-15 22:08:08 +00:00
junyoung ef7e076715 Cosmetic changes. 2005-06-15 19:07:36 +00:00
junyoung d659374d57 ANSI, KNF, de-__P, and various cosmetic changes. 2005-06-15 19:01:19 +00:00
bouyer ec4bb683de Support Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern. 2005-06-15 18:01:12 +00:00
bouyer 3cfd2fc4d3 Regen: add Intel 82801FBM Serial ATA Controller. 2005-06-15 17:59:14 +00:00
bouyer ded1e32c08 Add Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern@ 2005-06-15 17:58:02 +00:00
elad e62596b887 Set the veriexec table entry pointer to NULL in getnewvnode(). 2005-06-15 16:59:27 +00:00
elad 5b2713d417 Fix sysctl handling for raise-only variables. This affected the veriexec
node entirely. Reported by Nino Dehne.
2005-06-15 16:58:31 +00:00
reinoud c380d87cf0 Cosmetic change giving better feedback on what's going on. It would allways
tell the hardware reset timed out when it didn't. Also cleaned up code
comments.
2005-06-15 15:16:23 +00:00
tron 74088f139f Remove commented out "upa" attachments because NetBSD doesn't have a
driver for that anyway. Approved by Martin Husemann.
2005-06-15 12:57:44 +00:00
cube b5e65ac443 Match two candidates. From Francois Romieu in private mail. 2005-06-15 11:27:39 +00:00
junyoung 3bd71bdfb4 KNF & notably, use u_int rather than unsigned int for now for consistency.
This should be reversed eventually...
2005-06-15 08:03:07 +00:00
junyoung 0da67fb4ba Initial commit of cdboot, a primary boot loader that loads a secondary
boot loader directly from CD without performing floppy/hard disk emulation
as described by the El Torito specification.
2005-06-15 06:38:45 +00:00