185902 Commits

Author SHA1 Message Date
pooka
0fb0ab1101 Fix kernel build on platforms which define __BROKEN_CONFIG_UNIT_USAGE
and therefore don't take config_alldevs_lock() in config_devalloc().
2009-11-29 15:17:30 +00:00
pooka
bd6b01eb46 Initialize before set. 2009-11-29 15:13:22 +00:00
pooka
bae7babb36 fix build. (hi rmind) 2009-11-29 15:06:40 +00:00
skrll
ab92e61f58 Add a cast so that this actually compiles. oops. 2009-11-29 13:51:33 +00:00
plunky
7f5b5a7b01 fix a potential leak on tap device close, purging the send queue
did not actually release the dequeued mbufs.

pointed out by Paul Forgey on tech-net
2009-11-29 10:44:23 +00:00
skrll
ae1172385c Use fdcache instead of inline assembler. 2009-11-29 10:33:56 +00:00
skrll
f194e4ddc0 Signal EOI correctly rather than deferencing NULL. 2009-11-29 10:30:07 +00:00
kiyohara
7e526c7d4b Fix "+ 0x100" instead of "| 0x100" in the case ID 0x11[5678]A. 2009-11-29 10:17:01 +00:00
skrll
3fd8ce65d9 Use lci. 2009-11-29 10:15:07 +00:00
skrll
3e3c89b2ca Add lci to get coherence index for an address. 2009-11-29 10:09:54 +00:00
kiyohara
9de4dc009f Fix print message. 2009-11-29 10:08:15 +00:00
skrll
c1821630bd KNF 2009-11-29 10:08:10 +00:00
kiyohara
5a4eb24b7c Change print messages.
1. Use aprint instead of DPRINTF in swap mode.
  2. Locates and vendor/LSI names 1-line print.
  3. Also print (and maybe support) LAN92xx.
2009-11-29 10:06:19 +00:00
kiyohara
171390a416 Set mii_media_active in lan9118_ifm_change(). This is like ukphy_status().
Also LAN9118_TXS_NC is valid when if FDX.
2009-11-29 09:34:20 +00:00
kiyohara
1f5a3ad189 Fix register access to MII in lan9118_mii_readreg()/lan9118_mii_writereg(). 2009-11-29 05:07:49 +00:00
tsutsui
1baf5ea42e Add a bunch of useful typical examples. Also use appropriate markup there. 2009-11-29 04:19:55 +00:00
rmind
ce313d4fb1 Replace l_addr with uvm_lwp_getuarea() in various MD code, mostly cpu_lwp_fork(). 2009-11-29 04:15:42 +00:00
rmind
13e391366b cpu_lwp_fork (MIPS): replace l_addr with uvm_lwp_getuarea(), clean up a little. 2009-11-29 04:11:51 +00:00
rmind
37b2ed0997 Pass pcb_fpcpu_slock correctly, since pcb0 is a pointer.
Fixes ia64 build (hi matt@).
2009-11-29 04:09:35 +00:00
nakayama
71d5751682 - calculate end PA correctly.
- wrap more spitfire specific (flushing I$) code.
- fix inverted #if condition for flushing I$ (and restore ASI_ICACHE_TAG).
2009-11-29 03:31:33 +00:00
christos
ad4d8ed92e Add no/op routines for m68000 for the sticky, mask, and round settings. 2009-11-28 23:46:38 +00:00
dsl
454df0687b When truncating a request in bounds_check_with_mediasize() multiply
by the provided sector size instead of 512.
Fixes last bit of PR/31565
2009-11-28 22:38:07 +00:00
he
dcac85a1b9 It seems that LDADD.file gets added to the linker invocation after
the LDADD variable expansion.  To support static linking, ensure
that the common libraries gets tacked on at the end as well (order
matters for static linking), by using a convenience variable and
add it to the end of LDADD.t_modlinkset, as well as when doing the
general LDADD+= setting.
2009-11-28 22:20:38 +00:00
he
41109a9b3e Only do the nss module if MKPIC != no. 2009-11-28 22:15:48 +00:00
he
9fc5e76860 Use ${.CURDIR} when referring to a relative source directory. 2009-11-28 22:13:34 +00:00
dsl
ea4ea02d98 Add LINUX_SIOCGIFMTU and LINUX_IP_HDRINCL support.
Fixes part of PR/31358
The other parts are rather too intrusive to be fixed as in the PR.
2009-11-28 22:11:42 +00:00
mrg
d671d748d9 add the kernel config i've been mostly using for USIII/schizo support 2009-11-28 21:39:42 +00:00
mrg
4ac5893e12 implement enough code to get SB2000/SB2500 booting to multiuser. does
not last long if you use it, but an idle machine has stayed up 10 hours.

- for the !SPITFIRE case, use ASI_DCACHE_INVALIDATE instead of
  ASI_DCACHE_TAG when clearing tlb entries.  from openbsd.

- convert some comment "! Not yet" into "WRITEME", so that attempting
  to build a USIII MULTIPROCESSOR kernel fails to build until the code
  is written.

- add some more WRITEME's for the above.

- implement a !SPITFIRE version of sp_tlb_flush_all().  since there are
  no spare regs, for now just always increase %tl around this call.  (we
  could maybe store a token in %o3 along with the saved %pstate info.)
2009-11-28 21:38:55 +00:00
he
79aee680e3 Cast a vaddr_t (integral type) to void* before passing to memset. 2009-11-28 21:37:28 +00:00
mrg
dfeb6a353f give more debug output about mapping interrupts. 2009-11-28 21:32:46 +00:00
mrg
48979d5081 add some ultrasparcIII defines, from openbsd. 2009-11-28 21:07:02 +00:00
dsl
7828c3fe21 Add a note telling people to use the shell getopts builtin. 2009-11-28 20:36:45 +00:00
dsl
e2fd1f1d18 Use shell builtin getopts instead of getopt(1).
Fixes PR/30425
2009-11-28 20:30:01 +00:00
dsl
ba620e0c2b Set irm->bufmem = uvmexp.filepages;
as suggested in PR/30408
2009-11-28 20:09:56 +00:00
mbalmer
b53370aa71 Forgotten commit. Noticed by snj, thanks! 2009-11-28 17:27:30 +00:00
tsutsui
1735ad7d34 Update -u usage to follow changes in fdisk.c rev 1.125:
>> Allow MB, GB and CYL (not just M, G and C) and lower case.
>> Don't output a splurious 'd' before "cyl".
>> Fixes PR/37414.

XXX "NNcy" is also allowed?
2009-11-28 17:25:45 +00:00
cegger
afba2142ee initialise -> initialize
unabled -> unable
wrap long line
2009-11-28 17:03:17 +00:00
cegger
0409ca03ee u_int32_t -> uint32_t
struct device * -> device_t
2009-11-28 17:02:14 +00:00
mbalmer
228477b2fe Add the xf86-input-elographics driver to i386 builds. 2009-11-28 16:48:25 +00:00
tsutsui
d5fb21858d Clarify description of -f and -u options.
(-u means updating partition data, not interactive mode)
2009-11-28 16:45:20 +00:00
skrll
0deb77781e Flush only as much as is required. Pointed out by rmind. 2009-11-28 13:53:28 +00:00
kiyohara
96ade3c067 Comment out interrupt for LAN9118_INT_PHY_INT and LAN9118_INT_PME_INT. These
not support yet...
2009-11-28 13:20:41 +00:00
kiyohara
ee2bb9f5be Check mbuf size and buffers. 2009-11-28 12:16:57 +00:00
tsutsui
e7730664e0 Don't use #ifdef __${MACHINE_ARCH}__ to enable machine dependent features.
Instead, use proper macro defined in Makefile per ${MACHINE_ARCH}.

__${MACHINE_ARCH}__ doesn't represent an architecture of tool's target
but an architecture of binaries being compiled, so required features
are not prolery enabled or unintentionally enabled on certain host
and target combinations during src/tools build.
2009-11-28 12:14:53 +00:00
mbalmer
0a75bb16a6 Mention xf86-input-ws 2009-11-28 12:13:04 +00:00
mbalmer
d0bf5c8f87 Link the xf86-input-ws X.Org input driver to the build and add it to the lists
that also have the wsmouse driver.

xf86-input-ws adds support for touchpanels in X11 that report absolute position
data through wscons(4), e.g. the extended ums(4) driver.  xf86-input-ws was
written by Matthieu Herrb for OpenBSD.

Please remember to also update xsrc before the next system build.
2009-11-28 12:10:24 +00:00
scw
e6ee7f0c5b Apply some band-aid to pmap_activate() for PR kern/41058:
There's a corner case here which can leave turds in the cache as
reported in kern/41058. They're probably left over during tear-down and
switching away from an exiting process. Until the root cause is identified
and fixed, zap the cache when switching pmaps. This will result in a few
unnecessary cache flushes, but that's better than silently corrupting data.

Also remove an extraneous return statement in pmap_page_protect() which
crept in during the matt-armv6 merge.
2009-11-28 11:44:45 +00:00
tsutsui
93f39165ae Make dreamcast, evbsh3, and mmeye use -DUSE_MBR.
All of these ports use src/sys/arch/sh3/sh3/disksubr.c
which is MBR aware.
2009-11-28 11:26:36 +00:00
abs
b861177ec4 - Display "Enter '?' for help" when starting interactive mode
- Use %.40g rather than %g when printing sectors and MB for existing
  partition size/offset.
  Changes [1.93802e+06c, 1953525105s, 953870M]:
  to:     [1938021c, 1953525105s, 953869.6875M]:
2009-11-28 10:52:10 +00:00
abs
e115d85122 Shuffle the order of examples to put the interactive option (-i) ahead
of $EDITOR and "disklabel -w -r /dev/rsd0c sd2212 foo"
2009-11-28 10:28:22 +00:00