Commit Graph

175811 Commits

Author SHA1 Message Date
lukem 0fa62d4185 Fix dependencies for vi.info 2008-12-09 23:49:42 +00:00
bad f140528153 Document my fix to src/racoon/privsep.c for the SIG_IGN typo on 2008-12-04. 2008-12-09 23:28:08 +00:00
pooka 223c62813a In case of no _KERNEL_OPT, always define _PMAP_MAY_USE_PROM_CONSOLE 2008-12-09 23:05:25 +00:00
martin f915c7039b Get rid of get_maxctx() - it doesn't work on newer cpus and we will have
to find a better way for (some) sun4v machines - all sun4u use 13 bit
contexts anyway.
2008-12-09 21:01:02 +00:00
pooka a6139afb88 pmap_kernel() is syntactic sugar for kernel_pmap_ptr now. 2008-12-09 20:49:40 +00:00
pooka 72b415fb6e 5.99.5: pmap_kernel() unified 2008-12-09 20:48:52 +00:00
pooka 29d439f898 Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module.  pmap_kernel()
remains as the syntactic sugar.

Bonus cosmetics round: move all the pmap_t pointer typedefs into
uvm_pmap.h.

Thanks to Greg Oster for providing cpu muscle for doing test builds.
2008-12-09 20:45:44 +00:00
roy e24ba97e09 Update dhcpcd to 4.0.7 and take ownership. 2008-12-09 19:48:50 +00:00
roy 98454aa775 Import dhcpcd-4.0.7 with the following changes from dhcpcd-4.0.1
DHCP_DECLINE now includes the IP and Server in the message.
Trailing NULLs are stripped from string options.
ntpd is only restarted if it is already running.
ClientID is no longer sent by default.
CSR comes before routers and static routes as per RFC 3442.
Host routes are now added correctly.
If a the interface link flaps but status does not change, do not reset the timer.
2008-12-09 19:34:58 +00:00
christos 37d07dacae PR/40144: Christoph Badura: quiting from vi recovery mode leaves tty settings
garbled. When vi creates a new EXF structure it did not set all the fd related
fields to -1, so if the fd field was never initialized, it was 0 because of
the calloc() call, so closing the file, ended up closing 0, so the terminal
fd was closed and that prevented the ioctl to restore the term settings from
succeeding.
2008-12-09 18:26:20 +00:00
reinoud cadb068686 Fix two buf_init()'s that are not needed since they were already initialised
by getiobuf().

Also remove ancient IPL_BIO reference from the time it was called from
interrupt context instead of the current soft interrupt.
2008-12-09 17:17:02 +00:00
christos 99089c99f7 PR/40140: Takehiko NOZAKI: fix bug where nvi + x(delete) key may call abort(3) 2008-12-09 16:50:22 +00:00
christos 6d2637b2f4 Allow parsing more than one command line switch. From anon ymous. 2008-12-09 15:38:52 +00:00
tsutsui 5352126149 Sync with src/sys/arch/amiga/dev/siop.c rev 1.59:
> Deal with unrecognized SCSI message byte - restart script to clear the
> ACK.  No longer hangs the driver when an unhandled message byte is seen.
2008-12-09 14:11:11 +00:00
tsutsui 672e181eba Fix typo. 2008-12-09 14:01:48 +00:00
nakayama b1a235dedb Sync PCMCIA and CardBus devices with i386/conf/GENERIC. 2008-12-09 13:16:22 +00:00
nakayama e4c05fb61e Fix CardBus, PCI-PCI bridge support borked in previous commit. 2008-12-09 13:14:38 +00:00
hannken 5d923958f5 Remove superfluous target "image_md_pre". It is already present
in Makefile.cdrom and takes precedence from there.

No functional change intended.
2008-12-09 12:01:55 +00:00
njoly 26a5edd122 Add some padding members to linux_msqid64_ds for 32-bit archs. This
fix msgctl(2) IPC_STAT|IPC_64 calls, at least, on i386.
2008-12-09 11:09:11 +00:00
cegger 33d827105a vmem_check_sanity: refactor overlapping check for better readability.
Move use of vmem_check_sanity into locked sections. Pointed out by ad@
2008-12-09 07:54:59 +00:00
roy 29221b9676 Add myself. 2008-12-09 00:50:27 +00:00
pooka e49857aeaf create i386 link for amd64. per discussion with mrg. 2008-12-08 22:47:55 +00:00
mhitch 58d3184539 Deal with unrecognized SCSI message byte - restart script to clear the
ACK.  No longer hangs the driver when an unhandled message byte is seen.
2008-12-08 22:05:13 +00:00
dyoung ce732c2d14 Distinguish the NetMos NM9845 Quad UART chip from the NetMos NM9845
Quad UART + One Parallel chip.
2008-12-08 19:32:39 +00:00
dyoung 466fdf18f2 Add elanpex(4) and elanpar(4), commented out. Add some useful
CardBus / PCI / PCMCIA NICs, hifn, and the OpenCrypto framework.
2008-12-08 19:27:50 +00:00
tron e123b7f433 Force the nVidia nForce 630i MCP73 to attach to ahcisata(4) as well.
It would otherwise attach to pciide(4) and use PIO mode.

Patch submitted by Bernhard Moellemann in PR kern/40134.
2008-12-08 15:35:23 +00:00
pooka 6a5161dfcb Remove rump cpu_counter.h in favour of the arch native one. I'm
sure there was a reason why I originally added this, but I can't
find what would break without it now.  If something does pop up,
I'll fix it properly this time instead of adding silly headers.
2008-12-08 13:31:58 +00:00
pooka b14e457e9c Don't use -isystem in rump builds. This ensures that only headers
in the kernel tree are used.
2008-12-08 13:10:21 +00:00
pooka 316be31a2e Instead of punishing all archs for a fake vmparam.h, punish only
evbppc for its insolence and pick a ppc cpu family at random in
Makefile.rump.
2008-12-08 12:57:33 +00:00
njoly 84ab0cee9a s/SYSVIPC/SYSVMSG/, for message queues support. 2008-12-08 12:56:00 +00:00
pooka 8c10597be5 Don't descend into modules on evbppc.. sigh 2008-12-08 12:39:04 +00:00
njoly bd398db254 Remove unused timeval_to_clock_t function, superseeded by CONVTCK
macro.
2008-12-08 11:52:35 +00:00
pooka d34f27b620 Decode write access advice and pass to uvm (not that it's handled
there, but ...).
2008-12-08 11:48:03 +00:00
pooka 5297d2febf Don't even try to pretend WAPBL_DEBUG_INODES works here, just #error. 2008-12-08 11:37:37 +00:00
pooka 836c2144d0 Remove no longer valid comment (which probably didn't even say what
it wanted to say in the first place).
2008-12-08 11:34:30 +00:00
wiz be47919875 Spelling fixes. 2008-12-08 11:32:18 +00:00
pooka 37e35e961c Warn about large struct on stack in comment. 2008-12-08 11:23:39 +00:00
njoly 218ea1fa05 Add R_X86_64_32 relocation support, which enable loading modules with
debugging information. And ensure that addr is not null before using
it.

From ad@, thanks.
2008-12-08 08:41:36 +00:00
tteras dae665ff27 Do not cache pfkey sockets: it might cause to not handle some pfkey events
when select() has marked pfkey socket readable, but a timer callback first
calls pfkey_dump_sadb().
2008-12-08 06:00:53 +00:00
jnemeth 6c48b462c5 And again 2008-12-08 04:47:28 +00:00
alc 8c6c22b7f1 Add support for a 8168C/8111C revision
- also disable jumbo frame on this adapter following the FreeBSD driver
 - merge redundant call to aprint_error_dev
2008-12-08 03:24:08 +00:00
cegger 4dfe7b7870 ddb: make show vmem print exact span type
vmem_check_sanity: print exact span type
vmem_add1: KASSERT span types
2008-12-07 22:39:01 +00:00
mrg f757554046 a few clean up/rearrange changes, somewhat inspired from openbsd's
schizo.c:

- rename pp_busnode{} -> spc_busnode{}, and move it to
  sparc_pci_chipset{}

- move public pci functions pci_conf_read(), pci_conf_write() and
  pci_intr_establish() into psycho.c, renaming them in the process,
  and add pointers through sparc_pci_chipset{} to access them.
  as part of this, add PDB_INTMAP and PDB_CONF debug options to
  psycho.c

- move and rename sparc64 private pci_find_ino() into
  sparc_pci_chipset{}, like the above

- update psycho_alloc_chipset() to set the new 4 function members


no functional change intended.  XXX: not tested on cardbus.
2008-12-07 21:03:57 +00:00
pooka 54b9426187 Move some sysctl node creations away from linksets and into the
constructors for subsystems.

XXX: CTLFLAG_PERMANENT is non-sensible.
2008-12-07 20:58:46 +00:00
hannken 59f928fb25 ffs_copyonwrite(): Only use si_snapblklist if it is already allocated.
ffs_snapshot_read(): Use IO_ALTSEMANTICS to allow reading a snapshot vnode
                     beyond file system size.  Needed to read the snapblklist
                     on mount.

Persistent snapshots work again.

Should fix PR kern/37425: fss_snapshot_mount panic during fsck.
2008-12-07 19:51:07 +00:00
christos c78e2d1227 PR/1880: Jim Barnard: Don't parse backslash escaped characters inside single
quoted strings.
2008-12-07 19:21:00 +00:00
christos c6f8f3a3b2 PR/1880: Jim Barnard: Pass backslash escaped characters unintepreted inside
single quoted strings. Document new behavior, and its relationship with POSIX.
2008-12-07 19:17:09 +00:00
hannken 8e313cc27b Revert previous -- ALL reads are from kernel space.
Still open: PR kern/37425: fss_snapshot_mount panic during fsck.
2008-12-07 18:55:58 +00:00
tsutsui 10b1940363 Fix typo. 2008-12-07 16:59:01 +00:00
christos c6121a89c8 explain compatibility mode better. 2008-12-07 16:10:34 +00:00