187894 Commits

Author SHA1 Message Date
cnst
1c23afa3cb New aibs(4) driver for ASUSTeK AI Booster (ACPI ATK0110) hardware monitor
with limit support.

        http://thread.gmane.org/gmane.os.netbsd.devel.kernel/35654

Reviewed by <pgoyette>, <jruoho> and <tech-kern>.
2010-02-09 03:19:50 +00:00
msaitoh
2a0550e685 mention about mfi(4)'s GEN2 support. 2010-02-09 01:48:29 +00:00
msaitoh
0c975d7cab Update the manual for mfi GEN2. 2010-02-09 00:21:27 +00:00
msaitoh
38a7bbf82a Add newer cars supports. Tested on MegaRAID SAS 9260-8i.
- Add MFI gen2 support from OpenBSD.
 - Add entry for MegaRAID SAS 9260-8i
2010-02-09 00:05:18 +00:00
msaitoh
40b88c199a regen. 2010-02-08 23:59:09 +00:00
msaitoh
7d9d71b76c Add some MegaRAID Entries 2010-02-08 23:58:38 +00:00
msaitoh
8b946f18cd Fix a bug that the system which has no logical volume panics in shutdown
hook. Without any logical volume, sysmon_envsys_register() fails. On such
case, sc->sc_sme must be NULL for the detach. Reviewed by dyoung and bouyer.
2010-02-08 23:54:33 +00:00
pgoyette
daefdf6156 After reviewing the datasheets, most of the supported Winbond chips can
handles the new flags for selecting sensor type.  Update code and man
page accordingly.
2010-02-08 23:10:35 +00:00
joerg
1476e7a45a Handle rump like the direct mapping case. 2010-02-08 22:55:36 +00:00
wiz
df435c8ccb Remove trailing whitespace. 2010-02-08 21:47:20 +00:00
pgoyette
b6f86abdfe Add flags to all instances of lm(4), add a reference to man page 2010-02-08 21:45:31 +00:00
pgoyette
87726766a7 Document flags option for selecting temp sensor type 2010-02-08 21:42:41 +00:00
pgoyette
fe173e0687 Add temp-sensor type selection (via autoconfig flags). Currently only
enabled for W83627HF but easily extended to others if appropriate.

Fixes PR kern-42758
2010-02-08 21:42:01 +00:00
hubertf
fed6262c88 When a password is set for the bootloader ("installboot -o password=..."),
it currently complains about an unknown command and prints a usage if the
password is entered wrong:

        ...
        Choose an option; RETURN for default; SPACE to stop countdown.
        Option 1 will be chosen in 0 seconds.
        Password: *
        Password: *
        Password: *
        unknown command
        commands are:
        boot [xdNx:][filename] [-12acdqsvxz]
             (ex. "hd0a:netbsd.old -s"
        ls [path]
        dev xd[N[x]]:
        consdev {pc|com[0123]|com[0123]kbd|auto}
        modules {enabled|disabled}
        load {path_to_module}
        multiboot [xdNx:][filename] [<args>]
        help|?
        quit

        Choose an option; RETURN for default; SPACE to stop countdown.
        Option 1 will be chosen in 0 seconds.
        ...

This is confusing, plus someone may use it to determine bits of
information about the system. What should happen instead is that the user
is informed that the password is wrong:

        ...
        Choose an option; RETURN for default; SPACE to stop countdown.
        Option 1 will be chosen in 0 seconds.
        Password: ****
        Password: ****
        Password: ****
        Wrong password.

        Choose an option; RETURN for default; SPACE to stop countdown.
        ...

Implement the latter behaviour.
2010-02-08 21:25:32 +00:00
snj
b2cd31c11a Add ZTE MF626. From Marc Vertes in PR kern/41667. 2010-02-08 20:45:43 +00:00
roy
a017e721b1 Fix an off-by-one error.
Thanks to Matthias Drochner.
2010-02-08 20:45:22 +00:00
snj
72facffcbf Regen. 2010-02-08 20:44:01 +00:00
snj
3448c37ee6 Add ZTE MF626. From Marc Vertes in PR kern/41667. 2010-02-08 20:43:00 +00:00
eeh
5173fff056 Some bugfixes and enhancements. Support for case .. of and fix calculation
of branch offsets.
2010-02-08 20:14:55 +00:00
joerg
5f1e4a7153 Add entry for the mbuf cluster limit change. 2010-02-08 19:11:18 +00:00
joerg
d621e29eca Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
2010-02-08 19:02:25 +00:00
dyoung
9554bb1e78 Take another stab at fixing the LOCKDEBUG panic reported in PR
kern/39940 and by Martti Kuparinen on current-users@:  replace the
ioctl lock with finer-grained locking.  Lock the ports list and
wait to if_clone_destroy() until all threads are out of the softc.

Thanks to Martti Kuparinen for testing these changes.
2010-02-08 17:59:06 +00:00
agc
2b48e3a662 Update netpgp to version 1.99.17/20100208
Changes to 1.99.17/20100208

+ get rid of last 2 static variables - use the __ops_printstate_t struct
  passed down, and add the indent variable here too
+ get rid of 3 occurrences in reader.c where an automatic buffer was
  addressed (as part of a subsequent callback) by a struct field from
  a calling scope, and only valid within the callback.  Found by
  Flexelint and phk - many thanks.
+ print filename/"memory" when time problems occur when validating signatures
2010-02-08 17:19:11 +00:00
skrll
c53ddcfff2 Re-apply:
Invert the sense of the bit to mark if LOCKDEBUG is enabled to
	disabled.

	This will help my fellow developers spot "use before initialised"
	problems that hppa picks up very well.

but fix the !LOCKDEBUG case by defining the "no debug" bits to zero so
they have no effect on lock stubs.
2010-02-08 09:54:27 +00:00
skrll
0961cec7ef Add USERCONF as per all other GENERIC kernels 2010-02-08 08:49:57 +00:00
cnst
aba828dbc5 add myself as per the welcome email 2010-02-08 08:32:58 +00:00
plunky
f5c86c146d use
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4

rather than

.if ${HAVE_GCC} == 4

as HAVE_GCC may be undefined
2010-02-08 07:56:06 +00:00
uebayasi
992e23d629 Describe a new branch, uebayasi-xip. 2010-02-08 03:36:16 +00:00
mlelstv
3e39181b49 pgo_get needs the page array to be initialized. 2010-02-08 00:02:50 +00:00
mlelstv
5158187dbc Move assertion to make check more clear. 2010-02-08 00:01:39 +00:00
mlelstv
676d68d9ae Make UVMHIST build again. 2010-02-07 23:25:07 +00:00
pgoyette
5c907aca1a Recognize the i2c bus on the AMD768 PCI-ISA/LPC Bridge
Resolves PR/42759 - thanks Michael Stapelberg
2010-02-07 20:55:46 +00:00
snj
7e6d1f5f00 Use http: for links to files on ftp.NetBSD.org. 2010-02-07 19:43:11 +00:00
snj
a3e31bf1fb Update version number examples for the post-2.0I world. 2010-02-07 18:50:49 +00:00
tonio
643fbcdb26 Note the import of uthum driver from openbsd 2010-02-07 18:17:19 +00:00
tonio
1e64e85541 Fix typo in Email address, spotted by pgoyette@ 2010-02-07 18:09:01 +00:00
bouyer
be891954ad - ufs_balloc_range(): on error, only PG_RELEASED the pages that were
allocated to extend the file to the new size. Releasing all pages
  may release pages that contains previously-written data not yet flushed
  to disk. Should fix PR kern/35704
- {ffs,lfs,ext2fs}_truncate(): Even if the inode's size is the same as
  the new length, call uvm_vnp_setsize(). *_truncate() may have been
  called by *_write() in the error path (e.g. block allocation failure
  because of quota of file system full), and at this point v_writesize
  has been set to the desired size of the file and not reverted to the
  old size. Not adjusting v_writesize to the real size cause
  genfs_do_io() to write to disk past the real end of the file.
2010-02-07 17:12:40 +00:00
mlelstv
1ce16876f7 d_psize routine returns a number of blocks or -1 on error.
d_dump routine returns 0 or an error code.
2010-02-07 16:04:31 +00:00
mlelstv
dfd86ea3a8 Use filesystem blocks to address filesystem objects. f_iosize just
happens to be the same for current filesystems.
2010-02-07 15:51:28 +00:00
he
edfa9a9fcd Remove a now-unused variable declaration. 2010-02-07 12:52:04 +00:00
wiz
e9ce9a115f Xref i386/splraise.9 and bump date for previous. 2010-02-07 10:49:35 +00:00
uebayasi
5b83bdc89a KNF.
XXX This should use bus_dma(9).
2010-02-07 03:24:15 +00:00
he
76d4444c78 When using -lcurses, you also need -lterminfo.
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
2010-02-06 23:45:24 +00:00
cegger
fbddcef366 scsi_sense_data: add comments taken from src/sys/dev/ieee1394/sbp.h 2010-02-06 23:13:59 +00:00
dyoung
31c659dfea Move MD spllower(9) and splraise(9) doco from the MI spl(9) to an i386
manual page.
2010-02-06 22:32:07 +00:00
wiz
05207cfe3d Fix date. 2010-02-06 21:57:08 +00:00
pgoyette
7a917b7c86 Enable acpismbus(4) for ALL kernel, per discussion on tech-kern 2010-02-06 21:27:51 +00:00
dholland
607923e4ca Improve the error message that results when you have a multi-variable .for
and the substitution list doesn't divide evenly.
2010-02-06 20:37:13 +00:00
pgoyette
572b649d58 Add man page for acpismbus(4) 2010-02-06 20:15:54 +00:00
pgoyette
30f67e49db Mention acpismbus(4) (expermiental) 2010-02-06 20:13:03 +00:00