dsl
e26801d6fb
Use unsigned char * variables when scanning buffer - saves casts and & 0xff
2004-10-30 08:22:40 +00:00
dsl
2722aff86f
Add (unsigned char) cast to ctype function (for /sbin/setkey)
2004-10-29 19:31:04 +00:00
kent
2027395f9c
* uaudio_chan_open()
...
Call uaudio_set_speed() if and only if the selected Audio Streaming
interface supports multiple sampling rates.
Address PR#27237
2004-10-29 17:12:53 +00:00
kent
acac7b4b51
replace printf() inside UAUDIO_DEBUG with logprintf()
2004-10-29 16:42:47 +00:00
hannken
3404c7af50
Move the inclusion of <sys/bufq.h> from fss.c to fssvar.h to make
...
an FSS-enabled kernel compile again.
2004-10-29 15:39:38 +00:00
yamt
18f717bb90
constify audio_hw_if, midi_hw_if, and radio_hw_if.
2004-10-29 12:57:15 +00:00
bouyer
2bdbaab58f
Call xfer->c_start() with the channel from the xfer, not the one from the
...
thread. They may be different if we have a shared queue.
2004-10-28 20:11:41 +00:00
cube
cce3c2a9eb
Add support for the BCM575x variants. They're close to the 5705 one, with
...
some special cases for the PCI-Express versions. As there is no
documentation available, all of this is inspired from Linux or taken from
FreeBSD (itself inspired from Linux). There are a lot of magic numbers.
Tested on two BCM5751 devices as found in newer Dell computers.
2004-10-28 07:36:05 +00:00
martti
05e2eaf818
Regen for Dell PERC 4/SC
2004-10-28 07:29:07 +00:00
cube
64b1795875
Add support for the PHY found with BCM575x chips. Beware the magic
...
numbers!
From FreeBSD.
2004-10-28 07:26:17 +00:00
martti
ac15c84040
Align all SYMBIOS entries
2004-10-28 07:26:09 +00:00
cube
d3f031a415
Regen.
2004-10-28 07:23:24 +00:00
cube
69295b9741
Add an entry for the PHY found with BCM575x chips.
2004-10-28 07:23:00 +00:00
martti
0ae886cb1b
Added Dell PERC 4/SC
2004-10-28 07:22:23 +00:00
yamt
05f25dcc2a
move buffer queue related stuffs from buf.h to their own header, bufq.h.
2004-10-28 07:07:35 +00:00
yamt
043a545875
hide bufq_state from userland.
2004-10-28 06:59:18 +00:00
itojun
bc559f51c6
remove extra code mistakenly committed
2004-10-27 23:16:56 +00:00
jonathan
2bee2ad85f
Fix missing break; Emmanuel Dreyfus.
...
C.f. sys/netinet6/ipsec.c rev 1.97 -> 1.98, but does not include the
gratutious change for a case which (the comment says) should not occur.
2004-10-27 23:10:13 +00:00
itojun
70fc307de9
missing break; Emmanuel Dreyfus
2004-10-27 22:26:50 +00:00
david
d7d15131bb
Bounds check syscall arguments where appropriate
2004-10-27 19:29:57 +00:00
david
a710461910
Log Msg was corrected, Nov 6th, 2004. Whitespace cleanup
2004-10-27 19:29:56 +00:00
david
090b8be8f9
Bounds check syscall arguments where appropriate
2004-10-27 19:29:56 +00:00
peter
76767beb4a
Use DENYNONE to give unixy semantics of permitting everything not forbidden
...
by permissions. Ie denial is up to server with clients/openers needing to use
advisory locks for further control. From FreeBSD.
Fixes file access problem when the file is already open on the server.
Problem reported by George Abdelmalik <gabdelmalik at avdat dot com dot au>
Reviewed by jdolecek.
2004-10-27 19:17:13 +00:00
kent
15afb616fc
add "hw.auichN.ac97rate" sysctl MIB to specify AC'97 link rate.
...
It is needed because automatic calibration by auich_calibrate() is not
so precise.
- Why not ioctl?
It is not good idea to add a new ioctl operation to MI audio for
a specific audio device.
- Why not mixerctl item?
AC'97 linke rate is not related to audio mixing.
2004-10-27 13:26:43 +00:00
augustss
3f877f0787
Regen.
2004-10-27 07:03:16 +00:00
augustss
a546123041
Add some products from FreeBSD.
2004-10-27 07:02:47 +00:00
skrll
89ce37fcdb
Backout previous.
2004-10-27 06:55:53 +00:00
skrll
13d6d39771
Don't pass &proc0 in the UIO_SYSSPACE case it is not needed.
2004-10-27 06:51:06 +00:00
heas
6df21a5e13
GC some trailing WS.
2004-10-26 22:52:44 +00:00
thorpej
e2be7a929e
Implement the DIOCCACHESYNC ioctl; we just pass it along to the parent.
2004-10-26 22:50:16 +00:00
thorpej
c22daf01f0
Implement the DIOCCACHESYNC ioctl.
2004-10-26 22:46:13 +00:00
thorpej
f64a29d708
Implement the DIOCCACHESYNC ioctl; we simply pass it through to each
...
underlying component.
2004-10-26 22:44:45 +00:00
bouyer
01d27a59a7
wdc_drvprobe(): don't poll for the IDENTIFY, use interrupts. There's no
...
reasons to not use interrupts here, and polling cause problems when there is
a shared queue between 2 channels.
Fix kern/27421 by Martin Husemann.
2004-10-26 21:21:59 +00:00
augustss
d32a749096
Allow strings descriptor 0 to be fetched. It's the default language index.
2004-10-26 20:46:16 +00:00
perry
acd0ac9fc4
replace a tab with a space so commenting out auacer is more
...
aesthetically acceptable.
2004-10-26 19:52:23 +00:00
augustss
2d3b68ad83
Add some medis defines.
2004-10-26 17:28:52 +00:00
augustss
547cfc9779
Protect MII reads and writes properly against multiple access.
...
Set full duplex mode when status tells us to.
(I can now get 4Mbyte/s instead of 20kbyte/s rx speed.)
2004-10-26 17:20:47 +00:00
augustss
b729362224
Regen.
2004-10-26 11:31:17 +00:00
augustss
fe432c40cc
Add a vendor and some products.
2004-10-26 11:30:52 +00:00
itojun
5e3841214f
no need to call defrouter_select() here any more; jinmei
2004-10-26 07:03:29 +00:00
skrll
1d0409de9a
Fix bug in siginfo handling introduced in revision 1.93
2004-10-26 06:58:05 +00:00
itojun
830e5a5fbf
more cleanup on onlink assumption; jinmei
2004-10-26 06:54:53 +00:00
xtraeme
2141f16fbe
Fix typo in a comment: alalog -> analog.
2004-10-26 06:32:20 +00:00
itojun
b5f3688c67
remove onlink assumption behavior (consider destination on-link if default
...
router list is empty) based on recent IETF ipv6 discussion (RFC2461 5.2).
fix "ndp -I delete".
2004-10-26 06:08:00 +00:00
augustss
4d2499feda
Free memory in the correct order. Pointed out by Jeff Rizzo.
2004-10-26 05:00:59 +00:00
yamt
a9fa9f0745
since daddr_t is 64-bit these days, simply use nfs directory cookies
...
as buffer cache indexes. regress/sys/fs/getdents is now supposed to work.
fix PR/27112.
2004-10-26 04:34:46 +00:00
xtraeme
0ef90c1bfc
Fix typo: labe -> label.
2004-10-26 01:09:25 +00:00
yamt
20a0770136
remove #if 0'ed out definition of VA_EXCLUSIVE.
2004-10-26 00:58:54 +00:00
yamt
3d250e0476
remove an unused macro, NMOD.
2004-10-26 00:27:07 +00:00
yamt
4dd708bfff
a relatively lightweight implementation of kernel_lock.
2004-10-26 00:14:46 +00:00
peter
8270ea3f59
Use ANSI function decls.
2004-10-25 23:37:58 +00:00
peter
7101691fa3
Remove two redundant conditionals.
2004-10-25 23:06:41 +00:00
peter
993460fbb1
Change the static array to a linked list, removes the limit of max 20 LKMs.
...
Mostly from OpenBSD.
Reviewed by several people on tech-kern.
2004-10-25 22:59:12 +00:00
enami
63a896d5a8
Fill some entry in fake wdc_ata_bustype since those are called even
...
if no wd(4) device is configured in a kernel.
2004-10-25 22:42:09 +00:00
hannken
12c30b8690
Add speedstep support for Dothan processors.
...
From Steven J. Dovich via PR#26342.
Tested on "Intel(R) Pentium(R) M processor 1.60GHz".
2004-10-25 15:42:24 +00:00
sketch
0d451812d5
Regen (Dell Port Replicator added).
2004-10-25 11:32:02 +00:00
sketch
b06825e711
Add Dell Port Replicator.
2004-10-25 11:31:03 +00:00
martin
5c7441e83b
No need to clear %o1 when returning a 64 bit integer from pseg_get if we
...
are compiling for a 64 bit kernel.
2004-10-25 10:42:48 +00:00
augustss
e2916e01dd
Preserve some bits in the overlay qTD.
2004-10-25 10:29:49 +00:00
augustss
dd753df337
Add EHCI_QTD_SET_STATUS.
2004-10-25 08:53:38 +00:00
enami
5c26271a67
Back out part of previous. The card refered in PR/27255 needs to be
...
handled differently (at least the current code doesn't handle well).
2004-10-24 22:17:07 +00:00
augustss
d3c902a013
Add a comment.
2004-10-24 22:13:52 +00:00
augustss
2dc3c5521f
Follow the spec more closely when updating the overlay qTD in the QH.
2004-10-24 22:12:24 +00:00
augustss
becc42a193
Only delay interrupt my 2 miucroframes instead of 8. This improves
...
Ethernet performance.
2004-10-24 22:11:05 +00:00
augustss
f0c6875478
No need to generate an interrupt at the data part of a control transfer,
...
it's generated by the status transfer.
2004-10-24 22:09:15 +00:00
augustss
3d0622d94b
Make sure to update the data toggle on short transfers.
...
This makes my Ethernet adapter much happier.
2004-10-24 22:07:04 +00:00
cube
85c68ec88d
Add a check in DEV_USES_PARTITIONS macro in case dv->dv_cfdata is NULL,
...
as it is the case for md and raid. Raid case tested by Martin Husemann,
I could test the install floppies work again.
2004-10-24 17:06:24 +00:00
skrll
3780f859c7
Only create a KTR_USER record if it's one of the tracepoints.
...
OK'd by manu.
2004-10-24 14:42:10 +00:00
augustss
d58af06710
Regen.
2004-10-24 13:01:17 +00:00
augustss
5e26cc8165
Add 2 devices. From OpenBSD.
2004-10-24 12:58:44 +00:00
augustss
f8968198b1
Dont use lockmgr() from interrupt context.
2004-10-24 12:53:26 +00:00
augustss
122fe5d16e
Whine about not being able to figure out default language if we are debugging.
2004-10-24 12:52:40 +00:00
augustss
a71f7f822d
Don't make activate static. It disagrees with prototype.
2004-10-24 12:50:54 +00:00
augustss
b702a8af08
Don't allow open of low/full speed pipes types that will not work yet.
2004-10-24 08:52:26 +00:00
augustss
3f908f7bc3
Get rid of an oddly placed assert().
2004-10-24 08:49:13 +00:00
augustss
5f05836624
Do hex conversion right.
2004-10-24 08:47:27 +00:00
skrll
22f25588af
s/Id/NetBSD/
2004-10-24 07:12:40 +00:00
skrll
e0658593c2
Fix the argument to KERNEL_PROC_LOCK/KERNEL_PROC_UNLOCK.
2004-10-24 06:58:14 +00:00
christos
cfe914cf35
Change the sc_name buffer size from 16 to 32, since we already oveflow 16
...
in if_tlp_pci.c... The name code really needs to be fixed so that it does
not have a buffer overflow again:
1. the cardbus and eisa code don't initialize sc_name; it probably should?
2. tlp_attach() seems to print the name and the ethernet address, but
the pci front end seems to do the same.
3. some of the name determination code in the pci front-end does not guarantee
nul terminated strings.
Really, all this name code is just bloat and another place for bugs to hide.
2004-10-24 00:35:08 +00:00
heinz
eb3298f1fb
Follow the change done for port prep, revision 1.50. This makes output from
...
the autoconfiguration visible again. (Ok'd by Chuck Silvers).
2004-10-24 00:17:20 +00:00
yamt
62905a1302
uvm_pageidlezero: grab kernel_lock before uvm.fpageqlock. PR/27259.
2004-10-23 21:29:27 +00:00
yamt
c0ebe301d7
don't reference kernel_lock directly.
2004-10-23 21:27:33 +00:00
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
scw
408aca554c
Make artsata depend on sata.
2004-10-22 20:05:01 +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
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
augustss
1353a882ad
Add cdce.
2004-10-22 13:11:12 +00:00
augustss
c29a55f981
Add cdce(4).
2004-10-22 13:10:20 +00:00
augustss
efe84c1097
Add a driver for Communication Data Class Ethernet devices. From the very
...
prolific Bill Paul for FreeBSD, via OpenBSD.
XXX Untested, since I don't have any such devices.
2004-10-22 13:08:23 +00:00
augustss
4eb781d843
Print information for high speed hubs about the number of TTs.
...
Print a message when low/full speed devices are ignored on high speed hubs.
2004-10-22 12:03:21 +00:00
augustss
2c051a4b85
Add interrupt transfers. From OpenBSD.
...
Having interrupt transfers enables some more device types to be used,
most notably USB2 hubs. USB2 hubs still cannot handle anything but
USB2 devices, because there is node code to handle hub Transaction Translation
yet.
XXX This code doesn't do good bw scheduling, but it's certainly better than
nothing. :)
2004-10-22 10:38:17 +00:00
augustss
6f9df049df
Insert from ifdefs for soft interrupt related stuff. From OpenBSD.
2004-10-22 09:58:00 +00:00
peter
5d3f22a6e3
Remove the confusing PAGESIZE macro and calculate the size by doing
...
size / 1024.
Approved by mrg.
2004-10-22 09:49:18 +00:00
augustss
19ddd8a315
Add 3 devices. From OpenBSD.
2004-10-22 09:47:21 +00:00
augustss
cb0eb4bacc
Add a device. From OpenBSD.
2004-10-22 09:41:01 +00:00
augustss
d7eeed3a45
Add 2 devices. From OpenBSD.
2004-10-22 09:39:06 +00:00
augustss
14186a69e1
Regen (previous commit was a mistake).
2004-10-22 09:35:55 +00:00
augustss
86d1561830
Merge a lot of devices from OpenBSD.
2004-10-22 09:34:55 +00:00
wrstuden
6f8b7762c6
Now that we have ofwboot load at 0xe00000, it doesn't make sense for
...
this kernel to load at 0x800000 - move back to the default and we
have around 13 MB of space for the kernel.
2004-10-21 21:53:58 +00:00
wrstuden
df1f02ad54
Now that we have ofwboot load at 0xe00000, it doesn't make sense
...
for this kernel to load at 0x800000.
2004-10-21 21:52:51 +00:00
rjs
9003fc0a5c
Regen.
2004-10-21 21:01:50 +00:00
rjs
89c80e4674
Add definitions for Dell X3 and X30 PDAs.
2004-10-21 21:00:31 +00:00
augustss
176f75ee37
A little portability stuff.
2004-10-21 18:14:40 +00:00
augustss
e93cdd6905
Add a gross hack to route the ECHI interrupt on the Sharp MM20.
...
You can read the long and sad story about the BIOS in a comment.
2004-10-21 17:12:41 +00:00
fvdl
5febc5eef5
Fix thread context switching to take the stack ABI into account.
...
From Wolfgang Solfrank.
2004-10-21 16:49:47 +00:00
xtraeme
d16bfcc7a2
Fix typo in comment: compolicated -> complicated.
2004-10-21 16:18:42 +00:00
kent
ff827d1c72
make mixer names compatible with other audio devices
...
patch provided by Kazuhito HONDA in PR#15441
2004-10-21 12:41:07 +00:00
augustss
ab7b7be2f8
Add suspend/resume support.
...
From OpenBSD.
2004-10-21 11:18:21 +00:00
augustss
d9b55687d2
Use do .. while wrappers for debug print.
...
From OpenBSD.
2004-10-21 11:14:26 +00:00
augustss
00128db76d
Match function names in debug messages with real name.
...
From OpenBSD.
2004-10-21 11:11:19 +00:00
augustss
cc7b9783ea
ANSIfy.
2004-10-21 11:05:39 +00:00
simonb
83cddbc21f
Flesh out some comments in the incomplete "smart" version of
...
mips_user_cacheflush().
2004-10-21 03:15:13 +00:00
matt
2fefa174c9
Make panic messages print out what condition they though was panic-worthy
...
instead of a 1 word message.
2004-10-20 22:10:31 +00:00
xtraeme
4db3ca891c
Add another case to match "PCI_PRODUCT_AMD_SC761_SC" (AMD761 System
...
Controller) in agp_amd_match().
Ok'ed by christos@
2004-10-20 21:47:13 +00:00
kent
3f642d7b30
mixer item for a selctor should start with "sel" not "fea"
2004-10-20 13:48:32 +00:00
martti
b0dbe06f9f
Regen for DELL PERC 4e/Si
2004-10-20 10:50:12 +00:00
martti
ef476ebd05
Added support for DELL PERC 4e/Si RAID controller
2004-10-20 10:48:47 +00:00
scw
ea99c85462
Add dmoverio
2004-10-20 10:08:34 +00:00
thorpej
42b8fac3b8
Move boot device detection code from i386 and amd64 ports to x86_autoconf.c.
...
Rename i386_alldisks and x86_64_alldisks to x86_alldisks, adjust other
references to compensate.
2004-10-20 04:20:05 +00:00
lukem
58e9698928
enable ipw* (Intel PRO/Wireless 2100). (requested by hubertf)
2004-10-19 05:44:25 +00:00
uwe
e9f575c48c
First step towards bus_space - wrap register accesses into macros.
...
Same object code is generated.
2004-10-19 02:12:21 +00:00
uwe
4866d0ee50
KNF cosmetic. Same object code is generated.
...
Use continue for explicit empty loop body.
Use for (;;) instead of while (1).
Fix an indentation glitch.
2004-10-19 00:10:33 +00:00
itojun
75259d166c
ip6_flow_seq is no longer available.
2004-10-18 01:43:43 +00:00
heas
4cec10fd22
Adjust/add a few comments and add defines for PCS (aka GEM_MII) FSM and
...
interrupt registers.
drop some trailing WS.
no functional changes.
2004-10-17 21:49:08 +00:00
bouyer
ccd16ca6dc
Adjust some debug printfs after b_bcount was changed from long to int.
...
From Patrick Welche on current-users@
2004-10-17 17:49:04 +00:00
jdolecek
f5254bdba7
ldioctl(): fix typo in check for lockmgr() return value introduced
...
with the wedge support, which caused premature return and left dk_openlock
locked, leading to lockmgr() panic on close; newfs of ld disk now works again
2004-10-17 17:02:48 +00:00
jdolecek
fc0a76f17c
fix comment - LK_NOWAIT, not LK_WAIT
2004-10-17 16:06:00 +00:00
jdolecek
065df3bb84
fix typo (missing &)
2004-10-17 11:24:42 +00:00
jdolecek
84e86b0dce
use nointr allocator for shmmap_entry_pool - this is always accessed
...
from process context
2004-10-17 11:23:16 +00:00
kent
3b95460806
no need to restore AC97_REG_EXT_AUDIO_CTRL value on resuming
...
because ac97_codec_if_vtbl::restore_ports() does it.
2004-10-17 09:10:28 +00:00
kent
bac58e9eff
add support for suspending/resuming.
...
patch provided by Rhialto in PR#26432
2004-10-17 08:46:39 +00:00
kent
8e74ad23a5
make sure of readiness of an AC'97 codec by writing a value and
...
reading it. There is a codec which is not operational just
after power states become ready.
PR#26457
2004-10-17 08:20:15 +00:00
christos
ed27e77c16
Bring back ALLOW_MEMIO change that was lost between 1.38 and 1.39. This
...
change reportedly makes the driver work on macppc. There must be a better
way of doing this (based on the chip revision?).
2004-10-17 01:10:44 +00:00
christos
6a5f6766d4
Make a commented out print statement compile and avoid wrapped lines.
...
No functional change.
2004-10-16 22:52:37 +00:00
kent
e61cc9d9a5
add code to recognize sync-pipe audio stream.
...
The code is not enabled yet.
2004-10-16 18:08:50 +00:00
bouyer
4c45710493
Add the dual-serial VScom PCI-200 adapter. Tested by Jukka Salmi.
2004-10-16 18:05:19 +00:00
heinz
b804d8c240
Remove trailing argument list from #undef of divrnd macro to enable build
...
with gcc3 and -Werror.
2004-10-16 14:43:40 +00:00
jdolecek
3b6adcdea1
kill the indirection via struct shm_handle and store pointer to the uvm
...
object direct to _shm_private; the indirection doesn't serve any
useful purpose and just wastes memory and cpu cycles
2004-10-16 13:34:07 +00:00
dsl
43dde40d82
Put spaces either side of '|' for clarity ('|' looks too much like 'I' or 'l')
2004-10-16 11:11:04 +00:00
enami
740cc023cc
Rewrite the loop without using useless SIMPLEQ_FOREACH macro.
2004-10-15 21:25:04 +00:00
he
b0a1d8f11d
Increase the pmax ramdisk size with 100KB, so that the contents
...
fits again.
2004-10-15 15:06:37 +00:00
skrll
de13910b03
Revert previous. set_statvfs_info needs the struct proc * arg.
...
Problem noted by Tom Ivar Helbekkmo on current-users
2004-10-15 09:09:09 +00:00
thorpej
11103d1865
No longer need <sys/disk.h>
2004-10-15 07:22:02 +00:00
thorpej
99e5d764c1
- Eliminate the need to call disk_init().
...
- disk_count needs to be protected with disklist_slock, too.
2004-10-15 07:19:01 +00:00
thorpej
f8335cf6c2
Don't initialize ttylist or tty_count in tty_init().
2004-10-15 07:15:39 +00:00
thorpej
fae7cbfa65
rf_find_raid_components():
...
- If DIOCGDINFO failed with ENOTTY, don't print an error message; wedges
don't support that ioctl. Clean up the error message.
- If DIOCGDINFO fails, don't proceed to examine an invalid disklabel
structure.
2004-10-15 06:41:35 +00:00
thorpej
32ca684d72
match_harddisk(): Open RAW_PART, not the booted partition; we're
...
only performing the ioctl to fetch the disklabel.
2004-10-15 06:18:47 +00:00
thorpej
0b0e09815e
Update config_attach_pseudo() example.
2004-10-15 04:51:48 +00:00
thorpej
c7dc2875d8
Don't need to use config_makeroom() here.
2004-10-15 04:48:24 +00:00
thorpej
ffb78793fc
Use config_attach_pseudo() to create device instances in the device
...
tree for created wedges. This is necessary for setroot().
2004-10-15 04:42:09 +00:00
thorpej
45bba4e135
Change config_attach_pseudo() to take a cfdata * that contains the
...
necessary information to create the pseudo-device instance. Pseudo-device
device's will reference this cfdata, just as normal devices reference
their corresponding cfdata.
Welcome to 2.99.10.
2004-10-15 04:38:36 +00:00
enami
d5e42fa312
- Don't change the matching logic.
...
- Prepare to describe a card which has NULL CIS string.
- Factor out common code.
- Deal with malloc return value.
2004-10-15 00:48:53 +00:00
enami
d10ffa8c6e
Don't change the logic when simplifing code; a OR was changed to AND
...
and a test was removed but they shouldn't be changed.
2004-10-15 00:25:06 +00:00
bouyer
43d3408b53
In auxio_blink(), only toggle the AUXIO_LED_LED bit, don't clear the others.
...
It looks like bit 3 control the on-board le's link test, clearing it breaks
the interface (no link detected on the remote end). bit 3 is defined as
AUXIO4M_LTE (link-test enable) for sun4m systems (maybe all the AUXIO4M_*
bits are valid on the Ultra/1 too ?).
Tested on Ultra/1 and Ultra/5, approved by Martin Husemann and Matthew Green.
Should fix port-sparc64/25039 by Lubomir Sedlacik.
2004-10-14 17:58:06 +00:00
yamt
1c2a2dcad3
move i/o schedulers to their own files.
...
namely, from kern/subr_disk.c to kern/bufq_{fcfs,disksort,readprio,priocscan}.c.
2004-10-14 05:12:28 +00:00
mhitch
5760e71352
The gcc3 compiler optimized away writing character data to the Cirrus chip,
...
which results in a blank display - making it rather difficult to do an
install or upgrade when using a Cirrus-based display. Change the pointer
used to write the character and attribute to volatile. The console screen
now shows data and is usable.
2004-10-14 04:14:26 +00:00
enami
10f8fdf7dd
Redo previous two commit a bit different way;
...
- Just read as much as we can.
- Handle some special tuples.
2004-10-14 03:24:00 +00:00
snj
ce44fe4282
Fix some comment typos and a spelling error.
2004-10-14 01:45:54 +00:00
christos
2634ff1b14
PR/27255: Nikos Ntarmos: PCMCIA NIC with blank CIS tuples crashes the kernel
...
Simplify the code for readability.
2004-10-14 00:17:12 +00:00
gavan
0560d8b947
Initial import of iyonix port.
...
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.
* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.
With help from abs.
2004-10-13 23:28:34 +00:00
christos
7e7288c064
Bounds check signal number.
2004-10-13 23:21:41 +00:00
augustss
4989f19412
Regen.
2004-10-13 18:44:09 +00:00
augustss
89b66b9ce9
Add ALi M1563 bridge.
2004-10-13 18:42:17 +00:00
drochner
f62496141b
support ADDI-DATA APCI-7800 8-port serial adapter
2004-10-13 14:15:16 +00:00
drochner
f71b9f7aa1
regen
2004-10-13 14:14:41 +00:00
drochner
0f77727191
recognize ADDI-DATA APCI-7800 8-port serial adapter
2004-10-13 14:14:19 +00:00
kent
44f6147e9d
split outputs.tone to outputs.bass and outputs.treble
...
from OpenBSD
2004-10-12 14:34:41 +00:00
dbj
2bd0f63fd0
print absolute inode number in debug output when freeing free inode occurs.
...
previously, the number was relative to the cylinder group, which was confusing.
prefix debug message with "ifree:" so this can be differentiated in bug reports.
2004-10-11 17:15:36 +00:00
jmmv
c6d18895ed
Regen after addition of another vendor identifier for AIPTEK International
...
and the product identifier for AIPTEK International PenCam Mega 1.3.
2004-10-11 15:28:00 +00:00