Commit Graph

186621 Commits

Author SHA1 Message Date
pooka
bea06e393f If zeroing len == 0, return immediately.
(kmem_alloc() doesn't like being called with size == 0)
2009-12-16 16:50:49 +00:00
ahoka
efa829b8a6 Make SHA1 the first option when selecting cyphers, so one without basic
understanding of cryptography won't choose DES as the default on his system.

The default option should be the best possible in case the user is unsure.
2009-12-16 16:03:26 +00:00
msaitoh
05b467b58c Sync with Intel's original em driver:
- Add dspcode for igp3 and use it when the EEPROM isn't available.
- Add some delays.
- Stop the PHY transmitter before patching the DSP code and restart it after wrote.
- Save and restore register 0x2f5b.
2009-12-16 14:37:26 +00:00
skrll
7a92e8e89d Use += otherwise COPTS loses important flags. 2009-12-16 14:13:18 +00:00
matt
b4a4b118ed Fix printf format problems and latent bugs made visible by new bus_*_t types. 2009-12-16 08:26:14 +00:00
msaitoh
f03b836566 Re-enable igphy's 82566 support.
- Patch for the DSP code is only for 8254[17] and we have to apply the
   different patches between rev. 1 and rev. 2.
 - The workaround for analog fuse is only for 82547 rev. 1.
 - The workaround for smartspeed is only for 8254[17]

see http://mail-index.netbsd.org/tech-net/2009/08/05/msg001546.html
2009-12-16 04:50:35 +00:00
pooka
410d5e309e add dialout devices to FILES 2009-12-16 01:42:41 +00:00
skrll
fdd37a12f2 Consistent comment format. 2009-12-15 22:47:21 +00:00
hubertf
f092da9a2f Conditionalize the yyinput/input() function definition the same way
as it's always been done in the prototype.

OK christos@
2009-12-15 22:46:04 +00:00
skrll
92b36722e8 Remove #if 0 / #endif section 2009-12-15 22:44:25 +00:00
snj
0d7850aa0d Remove HAYAKAWA Koichi's acknowledgement. 2009-12-15 22:30:58 +00:00
snj
be360188fc Move to 2-clause license. Approved by HAYAKAWA Koichi (copyright holder). 2009-12-15 22:17:12 +00:00
jmmv
00d06c4b46 Add missing entries for libiscsi compat library. Hi mrg@! 2009-12-15 21:54:22 +00:00
skrll
74b7def7b3 Fix ancient bug. footbridge_mem_bs_mmap should return a page number. 2009-12-15 21:38:20 +00:00
dsl
bc86c9b425 Don't ERESTART write() calls for now.
I suspect some programs don't allow for the partial transfer.
2009-12-15 18:35:18 +00:00
matt
f3d1f82c6e Make sure the pcb and initial frame area of lwp0 are zeroed since these will
be the basis for all future lwps.
2009-12-15 18:24:47 +00:00
mrg
b4818d3cf1 XXX: turn off sim support by hand. yay, now gdb links on mips64. 2009-12-15 16:31:54 +00:00
pooka
bbf0fd9dc9 Add an example to show how to print with a rump ulpt driver. 2009-12-15 16:01:50 +00:00
pooka
aef2ecc09f add component for usb printers (ulpt driver) 2009-12-15 15:52:30 +00:00
pooka
5f20163f32 Support more stuff, e.g. mapping alternate interface setting to the
correct ugen ioctl.
2009-12-15 15:50:37 +00:00
uebayasi
6d1f240d45 Fix parallel build. Analyzed & patch provided by enami@, thanks! 2009-12-15 11:39:05 +00:00
skrll
b16946f34b First pass at gdb mknative for mips64* 2009-12-15 08:25:10 +00:00
uebayasi
930c6ee6c5 Clean up debug knobs. 2009-12-15 06:18:07 +00:00
matt
4a8d8a88f8 Use PRIxVADDR... (change a printf/panic -> panic) 2009-12-15 06:15:11 +00:00
rmind
5fd34da4f0 Fix MALTA32 builds, pmap_kenter_pa() needs additional argument in -current. 2009-12-15 06:07:14 +00:00
mrg
bf38b57289 note about USIII 2009-12-15 06:04:22 +00:00
mrg
c9eb68e09e convert all mips cpu_intr() to have the standard
(uint32_t, uint32_t, vaddr_t, uint32_t) signature.
2009-12-15 06:01:43 +00:00
mrg
37e0c45668 update mips64* sets for reality, and fix a couple of newly introduced
issues with sparc64 and amd64.
2009-12-15 05:59:50 +00:00
mrg
d7c5c26d66 add iscsi/lib 2009-12-15 05:23:25 +00:00
uebayasi
4b2bc9eb2d Factor out print_set_files() printing raw set list entries out of
list_set_files().  While here kill a useless-use-of-cat.
2009-12-15 05:11:08 +00:00
uebayasi
6be5668179 We don't need to check ${MACHINE_ARCH} == "m68000" if we use shlib or not.
Because such a knowledge is concentrated in bsd.own.mk and passed to as
${MKPIC}.  Tested by build.sh -m sun2 distribution sets.
2009-12-15 05:07:11 +00:00
mrg
5f0379f3ef don't build atf, openldap or binutils if their MK* == "no". 2009-12-15 04:12:43 +00:00
mrg
f4f977dbc5 make this actually build on mips64. 2009-12-15 04:06:43 +00:00
mrg
39ffb8df8d fix the previous: default the target depending the MACHINE_ARCH. 2009-12-15 04:05:34 +00:00
mrg
6540a82b31 brace a --fatal-warnings with a NOGCCERROR check. 2009-12-15 04:03:55 +00:00
christos
05e0c68b9e commit the auto-generated file 2009-12-15 03:39:19 +00:00
christos
c76b1ab895 Add a script to update the countries ISO/FIPS list. 2009-12-15 03:38:58 +00:00
dyoung
62f43df82a Per rmind@'s suggestion, avoid an acquire/release-mutex dance by
collecting garbage in two phases:  in the first stage, with
alldevs_mtx held, gather all of the objects to be freed onto a
list.  Drop alldevs_mtx, and in the second stage, free all the
collected objects.

Also per rmind@'s suggestion, remove KASSERT(!mutex_owned(&alldevs_mtx))
throughout, it is not useful.

Find a free unit number and allocate it for a new device_t atomically.
Before, two threads would sometimes find the same free unit number
and race to allocate it.  The loser panicked.  Now there is no
race.

In support of the changes above, extract some new subroutines that
are private to this module: config_unit_nextfree(), config_unit_alloc(),
config_devfree(), config_dump_garbage().

Delete all of the #ifdef __BROKEN_CONFIG_UNIT_USAGE code.  Only
the sun3 port still depends on __BROKEN_CONFIG_UNIT_USAGE, it's
not hard for the port to do without, and port-sun3@ had fair warning
that it was going away (>1 week, or a few years' warning, depending
how far back you look!).
2009-12-15 03:02:24 +00:00
mrg
fa38305b2e avoid most of the SUBDIRs if MKATF == "no". 2009-12-15 03:01:48 +00:00
mrg
7dc27f7039 fix a bunch of issues with MKATF=no. 2009-12-15 03:01:15 +00:00
enami
08464abb1e Put space after comma in the C code example. 2009-12-15 00:35:36 +00:00
haad
e354c714a3 Fix problem with using wedge like devicesi(LVM Logical Volumes, ZFS Zvols)
as xkbd backend. This problem was reported by Hugo Silva on port-xen.

Now we call DIOCGWEDGEINFO for all partitions, when it is not implemented
we use DIOCGPART to get information about volume size.

Fix oked by jym@.
2009-12-15 00:19:52 +00:00
skrll
c13655399e Remove redundant line. 2009-12-14 23:36:52 +00:00
agc
d028655a8d Bump the netpgp base version to 1.99.14 for the release changes. 2009-12-14 23:35:06 +00:00
agc
9e63cf3fca Prepare for a new netpgp-20091210 portable release.
Apart from infrastructure changes, there are the following functional ones:

+ Update to version 20091210

+ provide a new netpgp_match_list_keys(3) function to perform a
regular-expression based search of all the keys in the keyring.  If no
pattern is specified to match, then all keys are returned.

+ provide a new netpgp_set_homedir(3) function, and use it to set the
home directory from the library, rather than individually in all the
programs which use the library

+ provide a new netpgp_incvar(3) function which will add a constant
increment (which may be negative) to the value of an internal
variable.  This is primarily used for the verbosity level within the
library, and is again a movement of the function into the library from
the individual programs which use the library

+ move to the specification of an ssh key file by internal variable,
rather than the directory holding an ssh key file

+ autoconf infrastructure changes

+ take a hammer to the _GNU_SOURCE definitions problems

+ don't rely on strnlen(3) being present everywhere
2009-12-14 23:29:56 +00:00
matt
438b816270 Use PRIxVADDR ... 2009-12-14 21:19:47 +00:00
matt
9ca0818a05 Make librump play with mips nicely. Define ARCH_ELFSIZE for mips to be 32.
This works for N64 kernels because objcopy them to be 32bit to the bootloaders
can handle them.
2009-12-14 21:19:23 +00:00
kefren
df341ead56 add suspend/resume hooks for command processor 2009-12-14 21:01:07 +00:00
matt
e7e033198e Fix bad merge. (SUBDIR= != SUBDIR +=) 2009-12-14 20:47:23 +00:00
matt
f3848e2eb2 Back errant change due to botched merge. 2009-12-14 20:45:02 +00:00