Commit Graph

174437 Commits

Author SHA1 Message Date
apb
2f23c0edc4 Rewrite a "!=" command to avoid using sed. 2008-10-25 22:10:39 +00:00
mrg
a5a4dddeb3 this uses an evcnt so, include <sys/evcnt.h> 2008-10-25 19:13:40 +00:00
mrg
1d7afdb8cd allow _GCC_*CRT* defines to be overridden in the in-tree toolchain case. 2008-10-25 19:11:28 +00:00
mrg
ed79731b5f use <sparc/pmap.h> and <sparc/kcore.h> so this builds properly with
a 64 bit "cc -m32".
2008-10-25 19:09:10 +00:00
mrg
15378e3afa remove an unncessary .PATH element that doesn't exist (and never did?) 2008-10-25 19:07:26 +00:00
jmcneill
48e69717fb Emulate cpuid instruction. 2008-10-25 19:01:18 +00:00
christos
56c00d466d another TI bridge. 2008-10-25 18:46:38 +00:00
apb
8140020f95 Remove AWK variable, which is no longer used. All previous users
now use TOOL_AWK instead.
2008-10-25 18:29:03 +00:00
minskim
1e13ec8154 Remove trailing whitespace. 2008-10-25 18:18:01 +00:00
matt
3f7f9e3161 Fix some missing things for CPU_ID_FA526. 2008-10-25 18:15:19 +00:00
matt
17996c3ca8 Simplify NOERS case. Revert most changes back to 1.283. 2008-10-25 17:50:29 +00:00
christos
421f72243a don't set RTAX_GENMASK. 2008-10-25 17:48:13 +00:00
christos
92fd481af7 add pppd examples 2008-10-25 17:47:20 +00:00
christos
f2fd40685c add /usr/share/examples/pppd 2008-10-25 17:44:32 +00:00
christos
56ed44c4a5 Add an example script to connect to Cingular's 3G service. 2008-10-25 17:43:24 +00:00
christos
e8d515e422 regen. 2008-10-25 17:37:31 +00:00
christos
b311f98821 The Sierra Wireless USBConnect 881 card presents itself as umass containing
the driver to be installed for it. We don't need this crap. Tell it to become
a modem.
2008-10-25 17:35:44 +00:00
christos
e7901a5f9a Fix handling of RTAX_GENMASK. Since this has been removed, userland programs
that set it, ended up causing the kernel to reference random garbage. Ignore
it for compatibility, but add a DIAGNOSTIC message so that userland programs
that set it can be fixed. The only one so far is pppd. Hi dyoung!
2008-10-25 17:34:00 +00:00
jym
e9dd42b127 - add and fix some comments in xennet and xbd code
- add BEST_SUSPENDED macro, the xennet equivalent of BLKIF_STATE_SUSPENDED
for xbd (indicate that backend is in suspended state)
- use GNTST_okay to check the grant table setup status returned by hypercall,
 rather than 0

No functional changes.
2008-10-25 17:12:29 +00:00
tsutsui
f6cc315b29 - if no usable init(8) program (listed in *initpaths[]) can be found,
set the RB_ASKNAME flag and prompt users for the init path, rather than
  panicking with "no init".
- when prompting for the init path, support the special strings
  "halt", "reboot", and "ddb", as well as a prompt for the root device.

Dissussed and no objection on tech-kern.  Changes summary by apb@.
2008-10-25 15:40:59 +00:00
tsutsui
9cb64a72eb Fix a botch in an FIFO check for 16650. 2008-10-25 15:21:57 +00:00
apb
c57a72c85c Add a do-top-obj target, which builds the top-level obj directory.
This uses the new NOSUBDIR support in bsd.subdir.mk.

Insert do-top-obj near the beginning of BUILDTARGETS.  The first few
items are now:
    cleandir:        cleans the tree.
    do-top-obj:      creates the top level object directory.
    do-tools-obj:    creates object directories for the host toolchain.
    do-tools:        builds host toolchain.
    obj:             creates object directories.

Also improve a comment and split a long line where SUBDIR is set from
_SUBDIR.
2008-10-25 15:03:44 +00:00
apb
9e166e6cc9 Remove the local handling of the NOSUBDIR variable. We can rely
on bsd.subdir.mk's handling of the NOSUBDIR variable.

Also add some comment to .if/.else/.endif and .for/.endfor lines.
2008-10-25 14:59:35 +00:00
apb
b45673f53b Add a NOSUBDIR variable for bsd.subdir.mk. If NOSUBDIR is defined
then SUBDIR is ignored.
2008-10-25 14:58:00 +00:00
yamt
ea8f5a99d5 cache_lookup_raw: update "goodhits" statistics to be less confused.
add an XXX comment.
2008-10-25 14:20:17 +00:00
yamt
2fb0334ca1 add assertions. 2008-10-25 14:18:18 +00:00
yamt
e11d976a7b pmap_page_remove: remove an unnecessary initialization. 2008-10-25 14:16:35 +00:00
yamt
639a0868fd remove ; after __weak_alias() 2008-10-25 14:14:11 +00:00
yamt
fab66c36d6 exit1: update a comment. 2008-10-25 14:10:26 +00:00
jmcneill
5bdaf7c968 Pull in ftlcdfil.c 2008-10-25 13:14:49 +00:00
adrianp
1e802db977 Pull in a fix from the OpenSSL CVS:
http://cvs.openssl.org/filediff?f=openssl/crypto/x509/x509_att.c&v1=1.14&v2=1.15
This should fix PR #39767 opened by Wolfgang Solfrank
2008-10-25 12:11:47 +00:00
tsutsui
7605567fa0 Wrap #include "opt_sa.h" with #if defined(_KERNEL_OPT)/#endif
since this file is also used for compat_irix.
2008-10-25 10:41:05 +00:00
he
bececbe5a3 Bump SYMTAB_SPACE so that it fits again. 2008-10-25 10:08:25 +00:00
he
833cc988ed Replace a "type" with "sc->sc_type" to make this build again for cobalt
(and I'm sure a few others as well).
2008-10-25 10:05:43 +00:00
mrg
6c952c0d18 move the float definitions all into <sparc/float.h> and make that
version work in either 32 or 64 bit mode.
2008-10-25 09:23:50 +00:00
mrg
4a4b68e004 include <sparc/pte.h> not <machine/pte.h> so this gets the right
version in 32 bit mode.
2008-10-25 09:23:11 +00:00
mrg
dc23831816 make this build again after revivesa. ok'd by gimpy.
XXX: i think this will work but i haven't actually run any SA apps.
it does compile and link and the kernel boots just fine.
2008-10-25 09:10:07 +00:00
macallan
15354f6295 use PCI_VIA_TTYE0 hack on sparc64 and powerpc 2008-10-25 03:47:00 +00:00
dyoung
6663e85ac5 Reserve an ioctl, SIOCINITIFADDR, for repairing SIOCSIFADDR abuse
in the kernel, later.
2008-10-24 22:32:53 +00:00
dyoung
227b16e28c Constify m_length(). Reserve a packet tag for use later. 2008-10-24 22:31:40 +00:00
dyoung
420368fa25 Use sockaddr_in_init(). Wrap lines. No functional change intended. 2008-10-24 22:30:32 +00:00
dyoung
37dcd495a0 Change 'return (expr);' to 'return expr;'. Change (type *)0 to
NULL.  No functional change intended.
2008-10-24 22:23:20 +00:00
dyoung
2be1ba83a2 Use aprint_error_dev() instead of printf(). 2008-10-24 22:16:26 +00:00
jym
37061b265d - add mfn_to_pfn() and pfn_to_mfn() macros, for rapid conversion between
pseudo-physical and machine frame numbers.

- add HYPERVISOR_crash() for i386 and amd64. Intended to be used by a domain
to notify Xen that it crashed on purpose, and request a dump (if applicable).

No functional changes intended.

Reviewed by Christoph (cegger@).
2008-10-24 22:06:06 +00:00
dyoung
d29cd77c53 Use NULL instead of 0 or (type *)0. No functional change intended. 2008-10-24 21:50:08 +00:00
dyoung
398adeb7b9 Do not gratuitously cast to void *. 2008-10-24 21:46:09 +00:00
dyoung
beeacc82f5 Fix the device_t/softc split: introduce etherip_softc.sc_dev and
initialize it.  Use sc_dev in etherip_clone_destroy() instead of
casting the softc to struct device *.

Remove gratuitous casts.  Use device_t and cfdata_t throughout.
2008-10-24 21:41:04 +00:00
dyoung
d94f902d6b Do not gratuitously cast to void *. Remove excess parenthesization.
Do not "test truth" of pointers, but compare with NULL.

No functional change intended.
2008-10-24 21:38:18 +00:00
dyoung
74264e2e40 bzero -> memset. Avoid some messy casts to sockaddr by using a
union of sockaddr_in6 and sockaddr.  No functional change intended.
2008-10-24 21:30:34 +00:00
jym
4f26afe701 - rename init_events() to events_init(), to better reflect netbsd semantics
- change unbind_[pv]irq_from_evtch() so that they now return the event
channel the [PV]IRQ was bound to. It reflects the opposite behaviour of the
bind_[pv]irq_to_evtch() functions.

- remove xenbus_suspend() and xenbus_resume() prototypes, as they are not
used anywhere else, and will conflict with the xenbus pmf(9) handlers.

- make start_info aligned on a page boundary, as Xen expects it to be so.

- mask event channel during xbd detach before removing its handler (can
avoid spurious events).

- add the "protocol" entry in xenstore during xbd initialization. Normally
created during domU's boot by xentools, it is under domU's responsibility
in all other cases (save/restore, hot plugging, etc.).

- modifications to xs_init(), so that it can properly return an error.

Reviewed by Christoph (cegger@).
2008-10-24 21:09:24 +00:00