Commit Graph

215774 Commits

Author SHA1 Message Date
prlw1 281a5e1fdb Add ppp=YES variable. Currently pppd(8) starts automatically if ppp_peers
is not empty. Adding a ppp variable allows the default peer to be set,
and ppp set to NO so that dialing can happen with /etc/rc.d/ppp onestart.
Default set to YES so that old behaviour is preserved.
http://mail-index.netbsd.org/tech-userlevel/2012/08/21/msg006656.html
2013-01-13 18:47:57 +00:00
christos e861b2b079 explicitly pass (void *)0 instead of NULL. 2013-01-13 15:46:57 +00:00
skrll fab9d8686e Fix another locking issue for an error case.
Return a EIO not -EIO (KNF)

From rmind
2013-01-13 15:34:03 +00:00
skrll 5c168d25e0 Mask out all interrupts before clearing them in dwc_otg_init 2013-01-13 15:27:17 +00:00
skrll ba27b55770 Add some more counters (disabled by default) 2013-01-13 15:21:47 +00:00
jmcneill 3206900883 backout r1.16 as it seems to cause problems with uhid devices 2013-01-13 14:46:21 +00:00
mlelstv 3bc93874c5 build.sh lets you build releases with a limited set of kernels by
using the ALL_KERNELS environment variable to override the arch default.

Fix this mechanism for evbarm by limiting the generated boot images
accordingly.
2013-01-13 14:43:23 +00:00
tsutsui a707b405d6 Remove unnecessary struct open_file files[] leftover.
It's in libsa/files.c.
2013-01-13 14:27:06 +00:00
tsutsui fb32c859ac Fix tyop. (How these ones slipped in!?) 2013-01-13 14:24:24 +00:00
tsutsui 47bef335f9 Add netboot support.
Based on ews4800mips, mvme68k, and x68k standalone drivers.
Also bump version.

Tested on LUNA-I.

XXX: We really need proper documents about libsa APIs.
2013-01-13 14:10:55 +00:00
skrll 85f6998299 Remove IFF_OACTIVE in txeof always, i.e. for the usb error case as well.
Set an if_timer.
2013-01-13 08:38:04 +00:00
dholland ab137c90f7 Revert defective O_SEARCH implementation committed by manu@ along with
the *at system calls on November 18th of last year. Reasons to revert
it include:
   - it is incorrect in a whole variety of ways (but fortunately, one
     of them is that the missing and improper permission checks have
     no net effect);
   - it was committed without review or discussion;
   - core ruled that all the new O_* flags pertaining to the *at calls
     needed to wait until their semantics could be clarified.

manu was asked to revert it on these grounds but has ignored the request.

I have left O_SEARCH defined and visible and made open() explicitly
ignore it. This way, most code that tries to use it will continue to
build and run. I've also arranged lib/libc/c063/t_o_search.c so that
the tests that make use of the O_SEARCH semantics will disappear until
O_SEARCH comes back, and fixed some mistakes and/or incorrect hacks
that were causing some of these to succeed despite the broken O_SEARCH
implementation.
2013-01-13 08:15:02 +00:00
skrll 9d7a8a630c Fix locking botch 2013-01-13 08:05:30 +00:00
skrll 9f6e364496 Add DWC_OTG_DEBUG 2013-01-13 06:56:30 +00:00
skrll 1228c04a6e Simplify by using PMAP_NOCACHE 2013-01-13 06:10:25 +00:00
tsutsui 1b568fbf14 Remove unused function members from struct driver.
This makes adding other drivers easier.
2013-01-13 04:39:28 +00:00
jakllsch 8068bca8fe Add slurm(4), a radio(4) driver for USB FM radio modules based on the
Silicon Labs reference design.
2013-01-13 01:15:02 +00:00
jmcneill b4a705c4e8 fix missing mutex_exit in error path of ohci_waitintr 2013-01-13 01:10:59 +00:00
jmcneill f6b36ac22b attach xfer pool event counters 2013-01-13 01:04:46 +00:00
htodd ccb0318a24 Adding myself. 2013-01-13 00:19:41 +00:00
jmcneill 23895807f1 use a pool to allocate xfer handles 2013-01-12 23:26:06 +00:00
skrll 13bf2c1657 Unwrap short lines 2013-01-12 22:57:26 +00:00
skrll ded15e7ade If we're going to have GINTSTS_ and GINTMSK_ might as well be consistent
about their use.
2013-01-12 22:42:49 +00:00
skrll 19441a42c9 Fix thinko in one of my entries 2013-01-12 22:28:40 +00:00
jakllsch 1226734014 regen 2013-01-12 21:43:26 +00:00
jakllsch 280c378d8a Unlike usbdevs, miidevs needs the vendor name in the product id string. 2013-01-12 21:43:13 +00:00
jakllsch c1e7b6d9e9 regen 2013-01-12 21:35:34 +00:00
jakllsch 7f6d070faa Add SMSC9512 hub Id, and reorder SMSC products by Id number. 2013-01-12 21:34:48 +00:00
jakllsch 1c0f4ed0a6 regen. 2013-01-12 21:26:24 +00:00
jakllsch 360b3a6f8c Add SMSC OUI and LAN8700 and LAN8710/LAN8720 PHY IDs,
at this point just for MIIVERBOSE.
2013-01-12 21:25:58 +00:00
bouyer 8b981bb8d6 Revert these commits from november 2012:
http://mail-index.netbsd.org/source-changes/2012/11/25/msg039125.html
http://mail-index.netbsd.org/source-changes/2012/11/25/msg039126.html
http://mail-index.netbsd.org/source-changes/2012/11/25/msg039142.html

they cause a i386PAE domU to hang while running ATF tests, as shown in
http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/HEAD/

(we should pay more attention to test results, myself first).
2013-01-12 21:09:10 +00:00
riastradh 4ac5510164 Match the C600's ichlpcib. 2013-01-12 20:33:59 +00:00
riastradh 75f7eeffb6 Match the C600's other smbus controller. 2013-01-12 20:33:02 +00:00
matt 052628e406 A version of memset that can do NEON, VFP as well as normal arm instructions 2013-01-12 20:27:13 +00:00
jakllsch 28256562db Regen usbdevs and catch up to VENDOR_SMC2 to VENDOR_SMSC change. 2013-01-12 20:06:47 +00:00
jakllsch 60fccb09bc Rename vendor SMC2 to SMSC to better match the reality that SMC Networks makes
assembled networking products, where as SMSC designs silicon.
2013-01-12 20:04:02 +00:00
dholland 1239b9dce6 One more bit: explicitly state what calls to faccessat() are equivalent
to access().
2013-01-12 19:21:48 +00:00
dholland c0a0e3174b Rewrite heavily. This was originally going to be just an improvement of
some wording related to the *at form... but it needed a general overhaul.

Add some missing errors for the *at form... plus EINVAL for the
traditional form for when you pass a bogus check mode.

Note that the AT_EACCESS flag is useless and strengthen the security
warning.
2013-01-12 19:19:24 +00:00
jmcneill 301ed88549 correct a bad length parameter for a bus_space_barrier call (takes number of bytes, not number of dwords) 2013-01-12 18:53:21 +00:00
jmcneill 6571302412 traverse active list with TAILQ_FOREACH_SAFE in dwc_otg_interrupt_poll so the process doesnt get restarted whenever a transfer completes 2013-01-12 18:37:09 +00:00
macallan ce55cd64b5 default to swkbd mode on evbarm as well, now X without config should work
properly on BeagleBoard, RPi and the like
2013-01-12 18:32:12 +00:00
bouyer 763123ba32 Back out this commit:
http://mail-index.netbsd.org/source-changes/2012/12/28/msg039950.html
which cause a panic when running tests on amd64, as shown on:
http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/HEAD/
(i386 hangs for unrelated reasons).
2013-01-12 17:39:46 +00:00
dholland 196f95b039 Remove #if defined(_KERNEL) around a userlevel function. 2013-01-12 17:17:26 +00:00
chs e6346fb93b enable sparse dumps by default. 2013-01-12 16:56:11 +00:00
jmcneill 9c98a537bf split out some common code from device_foo_start to dwc_otg_xfer_start 2013-01-12 16:32:16 +00:00
jmcneill f540d86e8d need to wait for intr in dwc_otg_device_bulk_start if polling 2013-01-12 16:18:42 +00:00
asau 996c139721 URRR (ROV) is in Rostov-na-Donu (lower Don) rather than in Rostov (lake Nero)
which is far away from lower Don.
2013-01-12 14:03:42 +00:00
asau afd02ffabf UUOO (VOZ) is also known as Chertovitskoe.
No need to repeat "Voronezh" twice, it is large city and it is region centre.
2013-01-12 13:42:48 +00:00
tsutsui cd7a099af6 Fix warnings on DEBUG build. 2013-01-12 13:39:47 +00:00
asau e2eb44f15e UWPP (PEZ) is also known as Ternovka.
No need to repeat "Penza" twice, Penza is region central city.
2013-01-12 13:38:22 +00:00