Commit Graph

174421 Commits

Author SHA1 Message Date
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
macallan 15485d84a5 oops, forgot the mga driver 2008-10-24 20:43:13 +00:00
macallan f580ef87f1 add xorg stuff 2008-10-24 20:38:51 +00:00
macallan 22a73407c6 move DRI drivers into arch-specific xserver lists
OKed by cube
2008-10-24 20:37:35 +00:00
macallan 295bc97134 comment out some more cargo-culted special sparc treatment we can do without 2008-10-24 19:50:39 +00:00
cube 49c1c42f7c Add required LIBDPLIBS. Reported by jmcneill@. 2008-10-24 19:49:54 +00:00
macallan 1dc50364e0 sparc(64) and SBus support 2008-10-24 19:49:30 +00:00
macallan 1bd2d6984d build pcitweak and scanpci on sparc(64) as well 2008-10-24 19:48:34 +00:00
macallan 43628943a4 get rid of some cargo-culted special treatment for sparc64 2008-10-24 19:47:24 +00:00
macallan 65cedee289 sparc(64) support 2008-10-24 19:45:54 +00:00
macallan e42f6fbd2b add sparc(64)-specific drivers list 2008-10-24 19:43:57 +00:00
wrstuden 0a30ab777e toall signals really are toall. The fact we're sa doesn't matter.
They are start/stop signals, and need to impact more than just
blessed lwps.
2008-10-24 18:07:36 +00:00
jym 507459d7a0 - printf -> aprint_*
- fix and add comments
- make some panic/error messages more relevant
- remove last '\n' in DPRINTK() macros, not required as it is already part of format string.

No functional changes.
2008-10-24 18:02:58 +00:00
matt 965dfc78c2 Add irq source names. 2008-10-24 17:46:59 +00:00
matt 71f77216fa Forgot to do the aprint_normal(); 2008-10-24 17:31:24 +00:00
cegger cac6895435 - ansify function definition
- de- __P
- u_int32_t -> uint32_t

No functional changes.
2008-10-24 17:17:12 +00:00
dyoung 71367efb93 Undo a change in my last commit that was not suppsoed to be committed. 2008-10-24 17:14:29 +00:00