Commit Graph

182651 Commits

Author SHA1 Message Date
cegger
3b3738c161 fix typo 2009-08-05 14:41:12 +00:00
pooka
e7780eca66 remember to nestiobuf_done() too 2009-08-05 14:37:01 +00:00
pooka
a19ded3606 g/c uvm_aio_biodone1(). not used anymore. 2009-08-05 14:11:57 +00:00
pooka
1252aada83 kill uvm_aio_biodone1(). only user was lfs and that uses nestiobuf now. 2009-08-05 14:11:32 +00:00
pooka
5bd015d57e add some advice symbols we'll eventually need 2009-08-05 14:10:33 +00:00
pooka
307631b2c8 Use nestiobuf instead of homerolled equivalent. 2009-08-05 14:09:26 +00:00
pooka
095aaa3428 Clear PG_PAGEOUT in uvm_aio_aiodone() 2009-08-05 14:05:22 +00:00
reinoud
7c5a396997 Typo fix 2009-08-05 13:45:48 +00:00
jun
3a6e583f13 fix pcic kthread creation timing.
see http://mail-index.netbsd.org/current-users/2008/07/15/msg003526.html

fix kern/41791 & port-hpcmips/41164.
ok by uwe & tsutsui
2009-08-05 13:29:16 +00:00
tteras
4180506456 From Paul Wernau: Fix transport mode per-port security associations that
got broke during NAT-T fixes.
2009-08-05 13:16:01 +00:00
cegger
6d027845ab - Don't access VPD even if hardware advertised the capability.
It seems that some revisions of the controllers hang while accessing
  the VPD. Because VPD access routine is now unused, nuke it.
- Let TWSI reload EEPROM if VPD capability is detected. Reloading
  the EEPROM will also set the Ethernet address, so age(4) now reads
  AGE_PAR0 and AGE_PAR1 register to get the Ethernet address. This removes
  removes a lot of hacks and enhance readability a lot.
- Double PHY reset timeout as it takes more time to take the PHY out of
  power-saving state.
- Explicitly check power-saving state by checking undocumented PHY
  registers. If link is not up, poke undocumented registers to take
  PHY out of power-saving state. This is the same thing done by the
  Linux driver.
- Don't rely on auto-clearing feature of master reset bit, just wait
  1ms and check idle status of MAC.

From FreeBSD via OpenBSD.
2009-08-05 12:07:16 +00:00
cegger
b297f62c5a support flow control. from OpenBSD.
tested by Kevin Lahey
2009-08-05 07:03:04 +00:00
dholland
f5d4590c31 Use getopt instead of hand-rolled options code. Document all the arguments
and options. Don't allow the previously undocumented method to change the
maximum number of scores kept per user to be used on the system-wide high
score file. Sort options list in the man page. Bump its date.
2009-08-05 04:03:47 +00:00
pooka
b2ae25b4cd Use uvm_vnode.c instead of homerolled stuff. 2009-08-05 00:04:08 +00:00
pooka
b46117f3cd * support uvm_pagermapin/out(), adapt uvm_pageratop()
Instead of doing actual page remapping, which we can't portably
  do in userspace without extensive trickery (read: signals), simply
  allocate the kva window with new physical backing, copy page
  contents, return, and copy contents back in mapout.  Since the
  pages are locked during the mapping cycle, we can do this without
  hazard.

* add lots of stubbies necessary for new stuff coming soon
2009-08-04 23:58:29 +00:00
pooka
e0fc658a3c uvm_vnp_zerorange() logically and by implementation more a part of
ubc than uvm_vnode, so move it over.
2009-08-04 23:31:57 +00:00
jmcneill
bb3158c0b1 Reading the fan speed is expensive, so set the undocumented SME_POLL_ONLY
flag on this sensor to ensure that the data is only refreshed on demand.
2009-08-04 23:23:39 +00:00
pooka
c4e6a098a1 kernel opt polish: g/c unnecessary fs_nfs.h and opt_ddb.h 2009-08-04 23:03:01 +00:00
dyoung
bb61b3608a Use malloc(...|M_ZERO) instead of malloc(...) followed by memset(,0,). 2009-08-04 22:04:23 +00:00
pooka
c8c1730cc4 terminate comment too 2009-08-04 20:01:06 +00:00
pooka
16de900c99 * supply pager flags in ubc_uiomove()
* implement uvm_aio_aiodone() (which is almost identical to the "real" one)
2009-08-04 19:54:16 +00:00
wiz
cbc70c1e23 Use .Nm instead Xr to itself. 2009-08-04 18:59:05 +00:00
jmcneill
c143874ff6 Add name to last entry, and fix a typo in another entry while here. 2009-08-04 17:21:14 +00:00
jmcneill
0d15c60b95 acpi wakedev support 2009-08-04 17:11:14 +00:00
jmcneill
5baf678bf3 remove extra semicolon, spotted by snj 2009-08-04 17:06:10 +00:00
jmcneill
f5e82b659b add hw.wake.* sysctl subtree for toggling which devices are allowed to
restore the system from sleep. set/clear wake GPEs as specified before
entering sleep.

by default, the following devices are enabled for wake:
 - sleep/power buttons
 - lid switch
 - pc kbd controller

reviewed by: joerg
2009-08-04 14:20:40 +00:00
pooka
6e1d010d65 supply proper flags to pager 2009-08-04 13:39:18 +00:00
cegger
32258d719a support flow control. from OpenBSD.
tested by hans@
2009-08-04 13:17:55 +00:00
pooka
3ec4aae3c4 Do std vnode locking for specnodes located on rumpfs. 2009-08-04 12:40:42 +00:00
pooka
1752ac9b33 If opening the device fails, skip etfs registration only if it is
because of ENOENT.  Otherwise, let the file system handle it.
2009-08-04 12:37:14 +00:00
kiyohara
56ab546296 Fix GPIO configurations.
http://mail-index.netbsd.org/port-arm/2009/07/08/msg000807.html
    3. I misstake sinse 2007/08/21.
	 :

Details:
  Remove hwuart_gpioconf.  PXA270 not have HWUART.
  Add ohci_gpioconf.  However all selectable.
  Fix pSKTSEL of pcic is selectable.
  Fix MMDAT<1-3> of mci is optional.
2009-08-04 12:11:33 +00:00
martin
9c3d37432b Fix small oversight in device_t/softc split. Pointed out by <jdc>. 2009-08-04 09:26:26 +00:00
taca
a86c093e69 Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition.
Confirmed by msaito@.
2009-08-04 08:49:02 +00:00
dsl
42c6f77e6e Add #if NPCI > 1 around call to mp_pci_childdetached()
Fixes rst of PR/41301
2009-08-04 06:55:26 +00:00
pooka
fd3da5f6fe g/c cachepgmtx, i have no idea what it was supposed to be useful for. 2009-08-03 23:32:06 +00:00
rmind
3def089fbe Relate interfaces by updating "see also" section. 2009-08-03 23:29:19 +00:00
rmind
239c98c94b Merge vmem_alloc(9) & friends (it's a whole company) into a single vmem(9). 2009-08-03 23:15:29 +00:00
rmind
b4d747cb18 Merge workqueue_create(9), workqueue_destroy(9) and workqueue_enqueue(9)
into a single workqueue(9) man page.
2009-08-03 23:03:05 +00:00
wiz
27ce49cc21 Bump date for previous. 2009-08-03 22:22:10 +00:00
wiz
7455cfd148 Fix typo. 2009-08-03 22:20:07 +00:00
wiz
2e93bab0fb Remove trailing whitespace, and fix a typo. 2009-08-03 22:17:11 +00:00
wiz
62ab9add64 I guess ubc(9) should be used for all ubc_*(9) man pages, not only for
some. Make it so.
2009-08-03 22:16:01 +00:00
wiz
835184f2b5 Formatting nits. 2009-08-03 22:13:47 +00:00
pooka
49e7fefd6c play the "make signature match implementation-after-churn" game 2009-08-03 22:08:57 +00:00
joerg
15895248c1 Use OpenSSL's SHA256 support directly. 2009-08-03 20:56:25 +00:00
dsl
0c0bfe778a Only define x86_genfb_set_mapreg() and found_console when NPCI > 0
Fixes PR/41451
2009-08-03 20:15:14 +00:00
rmind
dc1dc00697 kmem(9): add code references, improve a little. 2009-08-03 20:10:16 +00:00
snj
7f43b2a600 Fix a typo inside a comment. 2009-08-03 20:06:36 +00:00
rmind
c783b6b33a Sync with reality a little, drop description of obsolete interface.
XXX: man page needs better wording.
2009-08-03 20:02:55 +00:00
dsl
666a334b2e Remove reference to P_SYSTRACE.
Fixes PR/41426
(leave defn in sys/sysctl.h since the bit shouldn't be reused!)
2009-08-03 20:00:39 +00:00