Commit Graph

131194 Commits

Author SHA1 Message Date
yamt d82d2638a7 __cpu_simple_lock: loop without locking cache or asserting LOCK#. 2004-10-23 21:25:22 +00:00
yamt fa29ea9740 to determine if an interrupt needs to grab the kernel lock or not,
check interrupt's own ipl rather than cpu's current ipl.
2004-10-23 21:24:05 +00:00
thorpej 40efd0eeef Check d_magic2 once, and not d_magic twice. Pointed out by tsarna. 2004-10-23 19:45:32 +00:00
christos fbbeedbe63 PR/27286: Tom Ivar Helbekkmo: Allow RTM_GET to work with RTA_IFA|RTA_IFP set.
Quiting Tom: The problem is the special case of an RTM_GET message
that wants interface information included in the response, and
therefore include the RTA_IFA or RTA_IFP (or both) flags in the
bitmask that says what addresses are supplied in the message.  For
the RTM_GET message, it doesn't make sense to supply addresses
other than the one you're asking about, so those two other bits
are, in that specific case, overloaded with this meaning.

There is code in sys/net/rtsock.c to handle the case, but at some
time, extra sanity checking of the received message was added, that
failed to take this possibility into account.

The patch, is needed for the Asterisk software PBX to work properly
when it has multiple interfaces active: it needs to ask the kernel
for the IP address of the interface that will be used to communicate
with a given host.
2004-10-23 19:13:22 +00:00
thorpej dfc3ead10a MBR partition table support for wedges, enabled by the DKWEDGE_METHOD_MBR
option.
2004-10-23 17:25:14 +00:00
thorpej f9403749b7 Use the new BTINFO_BOOTWEDGE bootinfo to discover the booted disk and
wedge.
2004-10-23 17:20:59 +00:00
thorpej 0798da74ba Add support for passing booted wedge information to the kernel. 2004-10-23 17:20:04 +00:00
thorpej d80e5712b6 - Adjust minor number usage for wedges; minor number directly maps to
unit now.  Don't pretend wedges have "partitions".
- Fix a buglet related to opening char and block devices of a wedge
  at the same time.
- Add dkwedge_set_bootwedge(), that MD code can call to set booted_device
  and booted_wedge appropriately when MD code knows the parent disk and
  the start/size of the wedge that was booted from.
2004-10-23 17:16:45 +00:00
thorpej a6be1570c7 - Centralize the declaration of booted_device and booted_partition.
- Add a booted_wedge variable that indicates the wedge that was booted
  from.  If this is NULL, booted_partition is consulted.
- Adjust setroot() and its support routines for root-on-wedges.  Could
  use some tidy-up, but this works for now.
2004-10-23 17:14:11 +00:00
thorpej dc2f2fbe74 Centralize the declaration of booted_device and booted_partition. 2004-10-23 17:07:37 +00:00
augustss 90d454c7f7 Keep track of what high speed port (if any) a device belongs to so we can
set the transaction translator fields for the transfer.
Add a gross hack for split transaction completion in the ehci driver that
allows control transfers to be translated.  Interrupt transfers do not work.
Warn when any low/full speed device is opened.
2004-10-23 16:17:56 +00:00
augustss e58f453183 Regen. 2004-10-23 14:21:19 +00:00
augustss f300e07550 Add another serial adapter. From Paul Shupak in PR kern/27197. 2004-10-23 14:20:50 +00:00
augustss ad40767c5b Regen. 2004-10-23 14:17:36 +00:00
augustss c24e0726df Add devices. From Paul Shupak in PR kern/25519. 2004-10-23 14:17:07 +00:00
augustss a187f5b112 Regen. 2004-10-23 14:08:05 +00:00
augustss bbdfe9d3b8 Add more devices. From OpenBSD. 2004-10-23 14:07:27 +00:00
augustss e1c26273a8 Alphabetize. 2004-10-23 14:01:41 +00:00
augustss 0c21c79cc5 s/uax/axe/ 2004-10-23 14:00:50 +00:00
augustss 6496ac653d s/uax/axe/ 2004-10-23 13:46:45 +00:00
augustss 00b535e7c0 Both FreeBSD and OpenBSD use Bill Paul axe driver instead of my uax
driver.  Maybe because it actually works on with hardware besides mine? :)
So we switch to axe too.
2004-10-23 13:38:26 +00:00
augustss d1ea5ecc77 Turn the printf about needing toggle update into a DPRINTF. Things
seem to work even when this message appears.
Why is it there, Charles?
2004-10-23 13:36:43 +00:00
augustss 4f104aa9c0 Try to get the Ethernet address of a CDC device in the prescribed way.
If that fails, just invent one (like before).
2004-10-23 13:29:18 +00:00
augustss 4430265c68 Use new functions for getting descriptors. 2004-10-23 13:28:26 +00:00
augustss 67f0f483bd Make an iterator abstraction for looping through all descriptors.
Move usb_get_string() and make it public.
2004-10-23 13:26:33 +00:00
augustss c1d4463c05 Add Ethernet descriptor. 2004-10-23 13:24:24 +00:00
kent 90d3337a6a update for mixer names change
bump date
2004-10-23 12:27:21 +00:00
snj 24641424de Kill trailing whitespace introduced in the last revision. 2004-10-23 00:41:08 +00:00
snj e85784770d Bump date for last, fix a spelling error, sprinkle some Dq, change
some wording.
2004-10-23 00:39:18 +00:00
bouyer 0a0bd752e8 Add an option (-M) to write a mtree specification (which needs to be passed
through sort before being feed to mtree) with file flags, instead of restoring
file flags at the same time as other attributes. Fix various issue with
schg, uchg, sappnd or uappnd flags which cause restore to fail in some case.
Discussed on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2004/10/12/0000.html
2004-10-22 22:38:38 +00:00
jmc 79308267d4 For HOSTTOOL builds, just exclude the chroot support as it's not needed and
avoids having to platform check for fchroot(). Fixes PR#27336
2004-10-22 21:00:18 +00:00
scw 408aca554c Make artsata depend on sata. 2004-10-22 20:05:01 +00:00
peter 224f01f920 Constify. 2004-10-22 18:41:09 +00:00
jmc 693535a5d9 Spelling errors 'dependant' vs 'dependent' from PR#27345 2004-10-22 18:35:41 +00:00
peter ebfed7ec9e Check the status for each test and print the result or an error message
according to the status code. This fixes a core dump in test 4.

Closes PR bin/27145 from ianzag at megasignal.com
Reviewed by christos, jdolecek.
2004-10-22 18:33:06 +00:00
kent 1b1a5c5dba assign AudioNlfe to UATO_SUBWOOFER
assign "phone" to telephony terimnal types.  The label "phone" is used
in ac97 though it is not defined as AudioN* macro.
2004-10-22 17:00:22 +00:00
kent 4f3a6c3aa2 style fixes
- consistent folding in function declarations
 - define a function as Static if the function is declared as Static
2004-10-22 16:01:49 +00:00
christos 29950aef4a Check the result of stat and warn if things are not found.
Change all err/x to warn/x
2004-10-22 15:50:47 +00:00
kent aaf8d890f0 enclose debug macros with do {...} while (0)
from OpenBSD
2004-10-22 15:36:30 +00:00
kent ed036bef2a fix wrong realloc() usage.
from OpenBSD
2004-10-22 15:34:04 +00:00
kent 89affe1894 fix typos in comments.
add open/close code of sync pipe (not enabled)
2004-10-22 15:25:56 +00:00
cube 49440f65c0 Add support for the 82801FB/FR (ICH6/6R) SATA controllers. 2004-10-22 15:09:22 +00:00
cube a5a705f674 Regen. 2004-10-22 15:01:32 +00:00
cube e6c3f8fb8d Add two Broadcom devices (575x chips), correct and add a few Intel entries. 2004-10-22 15:00:50 +00:00
peter 195fae85fa Remove the "(not in tree)" part in the comment for PF. 2004-10-22 14:08:22 +00:00
peter d39f449dd7 Don't ignore the hostname setting in /etc/rc.conf but use it if it exists.
Also change the 'hostname -s' command to 'hostname' because the full name
is what we want.

Fixes my PR bin/25038.
Approved by christos.
2004-10-22 14:00:23 +00:00
augustss 88fe3bf7b4 Mention cdce(4). 2004-10-22 13:44:49 +00:00
augustss 1c7195d7d0 Mention cdce(4). 2004-10-22 13:26:24 +00:00
augustss 75d97f8e83 Add cdce(4). 2004-10-22 13:24:19 +00:00
augustss 5b5a4aedd0 Add the cdce(4) man page. This also gives the correct history of the
driver.  It's only based on Bill Pauls work, the CDC part is by
Daniel Hartmeier.
2004-10-22 13:22:25 +00:00