Commit Graph

208587 Commits

Author SHA1 Message Date
skrll 59437e1e60 Regen. 2012-01-21 12:53:04 +00:00
skrll 4f31939942 Add a bunch of Standard Microsystems devices.
From OpenBSD.
2012-01-21 12:50:28 +00:00
isaki 2d602d5f8b Remove my (isaki@) acknowledgement. 2012-01-21 04:43:54 +00:00
isaki e9bd047a2f Switch mine to 2-clause license. 2012-01-21 03:01:03 +00:00
isaki 43fa5f922b Clean up pow(4) (which I had removed in Nov 2011). 2012-01-21 02:52:50 +00:00
jmcneill ebc0f994b4 reduce stack usage of stbi_gif_load_from_memory when STBI_SMALL_STACK is
defined
2012-01-20 23:13:47 +00:00
christos c300185bd0 Merge the two Makefiles that were mostly copies of each others.
The reason to do this was to add support for cleaning up the config.cache
files when the build environment (as determined by uname -srm) changes.
2012-01-20 23:01:05 +00:00
jakllsch c53184c92c Ensure psshfs_node_read() completely reads all data before return.
Fixes file corruption in psshfs exposed with kernel MAXPHYS at 128KiB.
2012-01-20 22:07:58 +00:00
hannken 9a05b44bd8 Revert revision 1.4 and change LAPIC_LEVEL_ASSERT / _MASK back to 0x4000.
According to "Intel 64 and IA-32 Architectures Software Developer's Manual"
Vol. 3, May 2011, Order Number: 325384-039US, Section 10.6.1:

	LEVEL_ASSERT is bit #14, bit #13 is reserved.

With this change NetBSD now boots multiple processors under CentOS 6.2/kvm.
2012-01-20 18:47:04 +00:00
matt eb7c56bacb Remove output emulation. 2012-01-20 18:25:30 +00:00
joerg 0f5f511fae Remove code for CITRUS!=yes. 2012-01-20 16:31:29 +00:00
tsutsui 6df52306d4 Invoke a shell script via ${HOST_SH} rather than assuming exec bits. 2012-01-20 15:06:47 +00:00
nonaka 9587ee6530 Kernel load address can be changed now. 2012-01-20 15:00:27 +00:00
joerg e8bec33be1 Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions
again. This was changed in sys/socket.h r1.51 to work around fallout
from the IPv6 aux data migration. It broke the historic ABI on some
platforms. This commit restores compatibility for netbsd32 code on such
platforms and provides a template for future changes to the CMSG_*
alignment. Revert PCC/Clang workarounds in postfix and tmux.
2012-01-20 14:08:04 +00:00
skrll 135f4f3872 Whitespace 2012-01-20 06:51:19 +00:00
skrll e3b6e9cf05 Add a comment. 2012-01-20 06:50:00 +00:00
agc d2e3329102 While the resulting image from mkimage can always be mounted with vnd,
and then modified, it is much easier to let this late, user-oriented
customisation be done automatically.  These mods let mkimage change
information based on files in a "custom" directory, which can be set
in mkimage using -c customdir.

After all other configuration, the files under custom/ will be copied
into the main image.  The files under custom/ are taken into account
when performing autosizing.

Also, generalise the sets directory to point to the current machine
architecture, although this can be overwritten from the command line
by anyone making cross-images.

An example to make a user image with an embedded read-only 100 MB
iSCSI target:

% ./mkimage -c custom
=== making a new 272 MB image in usermode.img ===
272+0 records in
272+0 records out
285212672 bytes transferred in 7.616 secs (37449142 bytes/sec)
=== mounting image via vnd vnd0 ===
/dev/rvnd0a: 272.0MB (557056 sectors) block size 8192, fragment size 1024
        using 6 cylinder groups of 45.34MB, 5803 blks, 11264 inodes.
super-block backups (for fsck_ffs -b #) at:
32, 92880, 185728, 278576, 371424, 464272,
=== installing sets ===
base
etc
modules
=== performing customisations ===
=== making extra directories ===
=== customising /var/tmp ===
=== user customisations from files in custom ===
Filesystem    1K-blocks       Used      Avail %Cap Mounted on
/dev/vnd0a       269967     263958      -7489 102% /mnt
% ls -l -R custom
total 8
drwxr-xr-x  3 agc  agc  512 Jan 18 03:58 etc
drwxr-xr-x  2 agc  agc  512 Jan 18 04:00 iscsi

custom/etc:
total 8
drwxr-xr-x  2 agc  agc  512 Jan 18 03:58 iscsi
-rw-r--r--  1 agc  agc  564 Jan 18 03:58 rc.conf

custom/etc/iscsi:
total 6
-r--r--r--  1 agc  agc  799 Jan 18 04:27 targets

custom/iscsi:
total 102484
-rw-r--r--  1 agc  agc  104857600 Jan 18 04:00 iscsi-target0
% sudo vnconfig vnd0 usermode.img
% sudo mount /dev/vnd0a /mnt
% cat /mnt/etc/iscsi/targets
# $NetBSD: targets,v 1.2 2006/02/16 19:30:57 agc Exp $
#
# Structure of this file:
#
# + an extent is a straight (offset, length) pair of a file or device
#   it's the lowest common storage denominator
#   at least one is needed
# + a device is made up of one or more extents or other devices
#   devices can be added in a hierachical manner, to enhance resilience
# + in this example, no device definitions are necessary, as the target
#   will just use a simple extent for persistent storage
# + a target is made up of 1 or more devices
# The code does not support RAID1 recovery at present

# Simple file showing 1 extent, mapped straight into 1 target

# extent        file or device          start           length
extent0         /iscsi/iscsi-target0    0               100MB

# target        flags   storage         netmask
target0         ro      extent0         0.0.0.0/0
% ls -l /mnt/iscsi/iscsi-target0
-rw-r--r--  1 agc  agc  104857600 Jan 18 04:00 /mnt/iscsi/iscsi-target0
% diff custom/etc/iscsi/targets /mnt/etc/iscsi/targets
%
2012-01-20 02:19:47 +00:00
matt cd209751f3 Don't make a netbsd-sd0a 2012-01-20 01:33:05 +00:00
joerg a4d3608fa8 CMSG_ALIGN is only for the kernel. 2012-01-20 01:17:01 +00:00
joerg 714fe69669 Don't use __cmsg_alignbytes in the kernel. Mark it as constant function
for userland as its value never changes. This allows the compiler to
optimise most invocations away.
2012-01-20 00:25:29 +00:00
matt fed60237a0 Add cfi/nor 2012-01-19 23:37:23 +00:00
rkujawa 91aeeb8582 Don\'t forget to disable atabus* when disabling the efa driver. 2012-01-19 22:43:11 +00:00
rkujawa f4fc0ec1f7 User reported that efa driver attached when FastATA hardware was absent, but 4x EIDE splitter was present. Disable efa in GENERIC until problem is solved and/or better probe function is written. 2012-01-19 22:11:49 +00:00
bouyer a3e0c29742 add a missing splvm()/splx() to protect the xpq queue. 2012-01-19 22:04:05 +00:00
bouyer c4e81427ed pmap_pte_set() is not supposed to be atomic, so only raise IPL, no need to
take pte_lock
2012-01-19 22:00:56 +00:00
christos d853914a0a Add more SHF_ and whitespace align SHT_ 2012-01-19 21:35:11 +00:00
christos 6dff8e2e2b whitespace diffs [and comments] 2012-01-19 21:25:13 +00:00
matt 329ec0ace4 Add ALIGNBYTES32/ALIGN32 (same as ALIGNBYTES/ALIGN). 2012-01-19 20:55:38 +00:00
matt c36dddf098 Use a ldscript to make sure boot programs are linked correctly. 2012-01-19 19:58:16 +00:00
macallan c3dbb52aea support anti-aliased fonts in 8 bit using host blits 2012-01-19 18:35:27 +00:00
drochner 2b9ee4cb40 let one bit more through to SSE, to make FP_X_IMP work 2012-01-19 16:37:18 +00:00
drochner 40e8e4a37d also remove unnecessary "needs-flag" for firmload, from Paul Goyette 2012-01-19 16:35:24 +00:00
nonaka 3f8c49b8a7 regen 2012-01-19 14:55:21 +00:00
nonaka 0dc700b973 Added more Realtek wlan adapters. 2012-01-19 14:54:32 +00:00
nonaka 1543f5f424 regen. 2012-01-19 14:01:22 +00:00
nonaka db12d6532f Added some Realtek wlan adapters. 2012-01-19 14:00:11 +00:00
liamjfoy b723329891 Remove ip6f_start from ip6f struct 2012-01-19 13:19:34 +00:00
liamjfoy 301d4b230a Remove ipf_start from ipf struct 2012-01-19 13:13:48 +00:00
reinoud 1a01d66147 My fault, forgot that cpu_need_resched() is indeed already declared as a function 2012-01-19 12:14:49 +00:00
reinoud aacc91c6de Add macro cpu_need_resched 2012-01-19 12:10:00 +00:00
wiz 642a95b35f Sort SEE ALSO. 2012-01-19 09:25:51 +00:00
manu e146830324 Fix a race condition where the filesystem lookups a vnode that is
being recycled, producing ENOENT while the file does exist.

Approved by yamt
2012-01-19 08:14:41 +00:00
nisimura 2971588656 Change BTINFO_ROOTDEV to include boot device partition number in
its cookie field to allow a kernel to determine rootdev correctly
when kernel image is loaded from other than 'a' partition.
2012-01-19 07:38:05 +00:00
christos 09838d02ff PR/45856: Bernhard "Burnhard" Riedel: Infinite loop on   input. Sending
char 160 in the input to csh, lead it to an infinite loop, because tcsh tables
counted this as a space character, but the word logic switch does not. Change
that character tables, so that this does not count as a spacing character
anymore, by syncing the table with the one from tcsh.
2012-01-19 02:42:53 +00:00
rkujawa 4d89cd1749 Mention support for G-REX 1200 and G-REX 4000 in p5pb(4). 2012-01-19 00:41:33 +00:00
rkujawa 9c4fe41206 Update the p5pb(4) page to reflect the recent changes in this driver. 2012-01-19 00:30:31 +00:00
rkujawa 1502adf2fa Tons of enchancements to MD PCI code:
- The G-REX 4000 and G-REX 1200 are now really supported and working (still only 1st slot but the rest are a matter of time).
- Add bridge identification to p5pb, simplifies the driver and make it more user-friendly.
- Retire P5PB_GENFB and P5PB_OLD_FIRMWARE options, these are now handled automatically, depending on used hardware and firmware.
- Add PCI bus reconfiguration support to p5pb (PCI_NETBSD_CONFIGURE), allows using G-REX without boot to AmigaOS.
- Bring p5pb registers desription up to date with my knowledge.
- Add a lot of debugging code to p5pb (enabled by P5PB_DEBUG kernel option).
- Fix PCI_NETBSD_CONFIGURE in mppb (now it really works).
- Fix quirk handling in zbus.
- Update GENERIC.in and regen the kernel configs.
- Misc cleanup.
2012-01-19 00:14:08 +00:00
nonaka bf2f9846a3 Support to read the kernel from local file system.
ex. boot path:/mnt/card/netbsd
2012-01-18 23:12:21 +00:00
drochner 977f62c445 revert previous, the assumption "all buses 1 and up must be subordinate
to pci0" doesn't even hold on i386 -- there are server-class chipsets
with multiple primary PCI buses, see arch/x86/pci/pchb.c for examples
2012-01-18 21:34:38 +00:00
bouyer 9427679519 Make parts of the quota tests useable for more than quotas:
- rename h_quota2_server to h_ffs_server, there's nothing about quotas
  in there.
- extract non-quota parts of quotas_common.sh to ffs_common.sh
2012-01-18 20:51:23 +00:00