197052 Commits

Author SHA1 Message Date
joerg
3c550524b5 Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
2011-01-22 19:19:14 +00:00
christos
87c238c4a3 undo previous. Read the diff wrong. 2011-01-22 19:12:58 +00:00
skrll
6d19229feb First attempt at MP _lock_cas. 2011-01-22 19:10:16 +00:00
pooka
5c349f05f1 inverse inversely incorrect comment 2011-01-22 18:33:25 +00:00
mlelstv
f724a1d32d When deleting a fragment header use the simple copy operation only if it fits
completely into the mbuf.
2011-01-22 18:26:36 +00:00
cegger
498b8c6e14 fix comment. from PR kern/44395 2011-01-22 18:26:12 +00:00
reinoud
9b7eade5c7 A not rewritable disc can be pseudo-overwritable. A pseudo-overwritable disc
can overwrite its logical volume integrity sequence so no need to make it
append-only for this class of discs.
2011-01-22 18:02:18 +00:00
tsutsui
071282b685 Fix a fatal typo that causes TLB miss panic in MachFPInterrupt().
Reported in followups of PR port-cobalt/44292.
2011-01-22 17:31:31 +00:00
tsutsui
62e3a2ab22 Adjust sc_frequency in MD attachment as quirks.
It is not applicable to all 1665x variants.

XXX: It looks IOBlix board actually has 22.1184MHz OSC without clock divisor
     http://amiga.resource.cx/photos/gallery/ioblix.jpg
     so needs to investigate why we have to divide sc_frequency by four
     to get right baud rate on IOBlix com. (firmware sets MCR_PRESCALE?)
2011-01-22 17:10:20 +00:00
tsutsui
434fbfac7f Revert part of changes in rev 1.298:
- it breaks cobalt's serial console as mentioned in PR port-cobalt/44292
 - MCR_PRESCALE doesn't affect unless EFR_EFCR is set in the EFR register
 - even if MCR_PRESCALE is enabled we should define appropriate sc_type
   variants and BRG values should be adjusted in comspeed() per sc_type
 - sc_frequency should be adjusted in MD attachment if necessary
Tested on cobalt by several people, ok from jklos@
2011-01-22 16:59:26 +00:00
christos
6c793dc721 fix comment 2011-01-22 16:54:48 +00:00
christos
5b63bdc2ba remove stray printf. 2011-01-22 16:24:44 +00:00
cegger
6ca6d96b6b Define HAVE_PCI_DEVICE_IS_BOOT_VGA.
Makes Xorg use of pci_device_is_boot_vga.

First discussed with macallan@ then public on tech-kern@ and tech-x11@
2011-01-22 15:21:37 +00:00
cegger
e28cc170ed Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@
2011-01-22 15:14:27 +00:00
reinoud
b7716654f6 Lookup the physical partition backing up the logical one when searching for the
metadata partition overlap for BD-R.

Fixes a kernel panic on mounting a BD-R formatted with UDF 2.60
2011-01-22 14:51:43 +00:00
tsutsui
7bce99b9fd Whitespace nits. 2011-01-22 14:47:21 +00:00
pooka
112941441d happiness is a quiet lint 2011-01-22 14:22:10 +00:00
pooka
3b79c0eb90 shush lint 2011-01-22 14:18:55 +00:00
tsutsui
b3539195c8 Fix wrong function names in messages by using __func__. PR kern/44431 2011-01-22 14:01:27 +00:00
pooka
1dbf3ca8e4 Check sys_reboot() return value now that it's possible. 2011-01-22 13:43:07 +00:00
pooka
1d9f8678bd In case sys_reboot() was called by a remote client, put the response
in the socket before we shut down.  This way the response to the
syscall travels to the caller and they know things worked correctly
instead of having to just assume.
2011-01-22 13:41:22 +00:00
pooka
0feb91da5d Add a comment explaning why uvm_reclaim_hook is not currently
necessary for rump.

XXX: strictly speaking, the zfs implementation does not work
correctly since it just wakes up a thread instead of performing
the scan in the context of the pagedaemon
2011-01-22 13:13:46 +00:00
mrg
6bad930551 convert xpmsg_lock to IPL_SCHED. the old spl/simple_lock code ran at
splsched(), and this significantly helps with stability under load
when running with multiple active CPUs.
2011-01-22 12:13:25 +00:00
tron
e0e90b2355 Fix build of ndiscvt(8). Not sure what broke it in the first place. 2011-01-22 12:06:51 +00:00
skrll
024e5c66df Fix MULTIPROCESSOR curlwp/curcpu handling... missed in previous commit. 2011-01-22 10:58:44 +00:00
skrll
2a78b12bfe Fix MULTIPROCESSOR curlwp/curcpu handling. 2011-01-22 10:57:07 +00:00
mrg
9f506e4ca6 XXX:
in strayintr() don't print about stray zs inters in MP case.
2011-01-22 10:37:22 +00:00
mrg
e187497d0d move <sys/device_if.h> outside of _KERNEL since the bulk of the previous
change depends upon "device_t" being defined.

fixes sparc/stand build.
2011-01-22 09:40:50 +00:00
cegger
c970166801 Fixes from PR kern/44395 Masanori Kanaoka:
- Fix register address in ale_phy_reset(). from linux
- Fix mask value in ale_stop_mac().
- Fix multicast handling. from openbsd
- Fix phy reset handling.
2011-01-22 08:13:47 +00:00
tteras
79764be6dd From Roman Hoog Antink <rha@open.ch>: Fixes a null pointer dereference
that might occur after removing peers from the config and then reloading.
2011-01-22 07:38:51 +00:00
matt
5f98725eda Fix the corruption of ps->start_hint. 2011-01-22 01:36:27 +00:00
nisimura
d8d2bb5d28 - make sure to wait for BUSY bit goes down prior to each 512B block
read from xfer register, or corrupted datum may be retrieved.  Uncovered
by corrected PIO READ_CMD value.
- remove redundant register assignments to set transfer mode.
2011-01-22 00:32:41 +00:00
christos
f98fcbb075 add may alias attribute to the double union because gcc-4.5.x produces
incorrect code on ARMv7a. From Nikunj Badjatya and Amol Pise.
2011-01-21 23:36:49 +00:00
christos
e6d36a6ae6 prevent resource DoS from brace expansion (from Maksymilian Arciemowicz) 2011-01-21 23:30:31 +00:00
dyoung
705a4fcdb3 Exclude drm sources from tags computation. 2011-01-21 23:23:44 +00:00
jakllsch
b3a8e9810d Per suggestion from tsutsui, convert to todr_[gs]ettime_ymdhms flavor. 2011-01-21 22:42:16 +00:00
he
7108beff27 Bump SYMTAB_SPACE so that it fits again. 2011-01-21 22:37:11 +00:00
reinoud
f6164dfe20 When requesting to disable metadata partitions, also disable low formatting.
When no meta and not low formatting we can lower the required UDF version.
2011-01-21 22:32:13 +00:00
reinoud
e08c1f2c44 Fix typo in comment 2011-01-21 22:10:51 +00:00
dyoung
153bc7928e unifdef -U__linux__ -U__FreeBSD__. No functional change intended. 2011-01-21 21:57:16 +00:00
reinoud
9a9564f94d Split out the raw to indexed partitioning code protecting against roque
implementations that use `ramdom' numbers for the physical partitions breaking
lots of implementations. Known curlpit is MicroSoft Windows 7.

Not only the partition mappings need to be protected against this but also the metadata partition files.
2011-01-21 20:36:53 +00:00
matt
651bde3939 Cleanup/add some asserts. no functional change. 2011-01-21 19:27:09 +00:00
jakllsch
2ecc058a1c Add pcf8563rtc(4), yet another I2C real time clock. 2011-01-21 19:11:47 +00:00
dyoung
609720ff85 Describe device_printf(9).
XXX Need symbolic link device_printf.9 -> kprintf.9.
2011-01-21 17:51:19 +00:00
dyoung
56f6a5a11c Move device_printf() from ath_netbsd.c to subr_prf.c for reuse in a new
driver.
2011-01-21 17:46:19 +00:00
cegger
c6a6ce3477 buildfix: use PRIxPADDR for type paddr_t 2011-01-21 16:56:38 +00:00
joerg
19b23810a0 Switch remaining platforms to modern CPP for assembler. 2011-01-21 15:59:04 +00:00
pooka
8df353fe72 no longer used 2011-01-21 13:11:32 +00:00
pooka
0ec2770c3c Since "physmem" is largely unused except for zfs wanting to know
if it has enough memory available, just pick a number which makes
zfs happy.

We *could* use a MIN() of available host mem and rump_memlimit,
though ...
2011-01-21 13:11:03 +00:00
pooka
1c44cbfd96 Don't allow module to init if root is not mounted since the modcmd
wants to traverse the file system.  This *might* fix statically
linking zfs support into the kernel (at least it fixes rump kernel
bootstrap).
2011-01-21 13:08:42 +00:00