Commit Graph

21270 Commits

Author SHA1 Message Date
uebayasi 3f9b6523d1 Typo in comment. 2006-09-18 07:47:13 +00:00
jmcneill 2c50610456 Call rt2560_stop() from rt2560_detach(). Fixes a panic on detach of cardbus
device on my Vaio. Fix from dyoung@.
2006-09-17 23:58:51 +00:00
plunky f811cc93d1 add bthub(4) and remove btdev(4) entries 2006-09-17 15:01:34 +00:00
gdamore 06522e0f81 Pass the filesystem time to clock drivers in the todr_chip_handle, so that
vax, and pmax can use it.
2006-09-16 00:50:52 +00:00
is 1860a0e148 Simply use the device name for the workqueue name. 2006-09-15 11:22:21 +00:00
is a2f7b2e007 aue_ioctl() for the murpose of adding/deleting multicast addresses is called
from interupt context. Defer its processing to a workqueue(9).
This fixes PR 34521.
2006-09-15 10:47:34 +00:00
reinoud d1de30eaae Fix same panic problem as with cd.c when a scsi error happends on
read/write action. It would panic on a diagnosic assertion. When a scsi
read/write command fails, the whole extent is gone bad so mark all as not
done.
2006-09-14 17:54:34 +00:00
martin 2dce1200cc Avoid duplicate collon, from Stephan 'doomwarrior' in PR kern/34518 2006-09-13 14:45:24 +00:00
gdamore cf407be292 Convert shark and ofppc to new common ofrtc and MI todr code. Tested
on shark.  Ok christos@, martin@.
2006-09-13 07:14:35 +00:00
christos d5978e20f4 - use c99 initializers
- add missing initializer
2006-09-13 01:01:20 +00:00
christos b4c0be5dc8 avoid empty if bodies. 2006-09-13 00:55:57 +00:00
christos 71aa807296 use a c99 initializer 2006-09-13 00:48:03 +00:00
plunky ad28493ad1 guard against a possible situation where the list of l2cap channels is changed
when the bluetooth code is not expecting it to be. During a disconnect, we can
detach the channel that is being disconnected, but its not really safe to detach
any others.
2006-09-12 18:18:01 +00:00
plunky 4b5125cac5 btsco.c:
- sco_getopt(..., SO_SCO_MTU, ...) expects the address of a uint16_t,
   not an int. So change sc_mtu's type to uint16_t.
 - Try a little harder to ensure btsco_round_blocksize() does not
   return zero. Prevents a subsequent panic in audio_init_ringbuffer().

	from scw@
2006-09-11 21:59:09 +00:00
rittera 26b97f3a17 Added innitialization to bs in ndis_getstate_80211. It was causing a compiler warning. Pointed out by Kulcsar Ferenc 2006-09-11 21:17:18 +00:00
reinoud 2b551264c1 Aparently i've misread, backing out change. 2006-09-11 19:43:55 +00:00
plunky ed4d8d47a0 also include service name in dictionary being sent to kernel.
(this is not used just yet, but it might be in the future and it will
be easier if we dont have to provide code to handle its absence)
2006-09-11 18:30:27 +00:00
reinoud 5411355304 Don't add one to the capacity returned of READ CAPACITY! it results in
reporting a sd* disc that is one sector too big (!) Normally not much a
problem in FFS since its clustered but other filingsystems *do* care.
2006-09-11 17:57:07 +00:00
matt b9525730ee deal with 'bool' definitions 2006-09-11 03:37:12 +00:00
riz c927ff3953 g/c unused SK_{SET,CLR}BIT macros 2006-09-10 18:39:27 +00:00
plunky 4f1cbddc12 update to bluetooth device attachment:
remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
2006-09-10 15:45:55 +00:00
gavan 843ed515f0 dsrtc_settime already takes a volatile struct timeval *, also qualify
with volatile for dsrtc_gettime.
2006-09-10 14:06:54 +00:00
simonb f4ec8156e1 Add NetBSD RCS tag to top of file. 2006-09-10 11:03:14 +00:00
tsutsui c231727267 Fix a typo (settime -> gettime) so that we can get time. 2006-09-10 06:39:00 +00:00
riz 11d88bbe54 Add msk(4) info to the sk(4) manpage, and install links (from OpenBSD).
Also, add msk to DEVNAMES.
2006-09-09 23:52:27 +00:00
gdamore 7020797810 Convert to MI clock_ymdhms versions of todr calls. 2006-09-09 21:10:01 +00:00
riz d5e3d70afd Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD.  There are still some outstanding
issues with this driver, namely:

 - Checksum offload is unsupported
 - There is a significant amount of code duplication from sk(4)
 - There remain some 'magic numbers'
 - Performance is not heavily tested, and likely to be lower than
   the chip is capable of in some cases.  Syncing some of the
   aforementioned 'magic numbers' with the Marvell FreeBSD driver
   should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.
2006-09-09 16:17:50 +00:00
uebayasi c1a02ec4d9 Typo. 2006-09-08 06:38:55 +00:00
reinoud 25522cfb86 Oeps! I overlooked the size argument of the SCSI call. It ought to be equal
to the number of bytes we are reading: READ_DISCINFO_BIGSIZE

sorry.
2006-09-08 00:33:18 +00:00
reinoud a5b62cb444 The size of struct scsipi_read_discinfo_data is not even due to the data[1]
pseudo array in the structure. The scsi command issued used
sizeof(scsipi_read_discinfo_data) but included thus the last byte that
wasn't going to be inspected anyway. Using the constant
READ_DISCINFO_BIGSIZE fixes the bug.

Even though SCSI adapters *should* accept odd lengths, the Sun U10
(sparc64's) crashes in bus_space_read_multi_stream_2(). That explains the
crash.

NOTE: somewhere in NetBSD/sparc64's atapibus support there is the
assumption on the even size; this needs to be fixed! (Hi Sparc64 portmaster
:-) )
2006-09-07 22:52:46 +00:00
riz bc22f236a4 Regen. 2006-09-07 21:17:32 +00:00
riz 0fcac2612f Add the SK-9Sxx Gigabit Ethernet, from OpenBSD. 2006-09-07 21:16:55 +00:00
itohy cb2fb285ec Workbit NinjaATA-32 busmastering PIO IDE controller driver (njata)
This driver supports NinjaATA-32Bi and NPATA-32 chips,
which are used for CardBus ATA interface cards and
CardBus CompactFlash adapters.
2006-09-07 14:22:07 +00:00
itohy 6119b65726 Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.
2006-09-07 12:46:47 +00:00
itohy bf52851800 Regen from pcidevs rev 1.830. 2006-09-07 12:38:59 +00:00
itohy eee2a035e9 Add Workbit NinjaATA-32Bi and NPATA-32 busmastering PIO IDE controllers. 2006-09-07 12:37:49 +00:00
itohy 0a30900857 Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.
2006-09-07 12:34:41 +00:00
gdamore 1a001de39f Update to new friendlier todr entry points. While here, ANSIfy. 2006-09-07 05:09:29 +00:00
gdamore a3925b6374 Updated to new clock_ymdhms support in kern_todr.
While here, ansify a few routines.
2006-09-07 05:02:16 +00:00
simonb 68c7194a9c Revert rev 1.9. As pointed out by Izumi Tsutsui, the \n is printed
by MD code.
2006-09-07 04:33:55 +00:00
gdamore 711d816d2d Switch to friendlier todr ymdhms entry points. Moved a consistency check
to common kern_todr.c while here.
2006-09-07 04:29:34 +00:00
dogcow f2d329dca0 remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP. 2006-09-07 02:40:31 +00:00
uwe d9aa7ac028 Make timeval argument to todr_settime volatile to keep non-timecounter
ports happy.
2006-09-07 01:50:49 +00:00
uwe c7a7101b20 MI part of the Ricoh RS5C313 real time clock todr(9) driver.
Based on the code from landisk port.  With help from gdamore@
2006-09-07 01:12:00 +00:00
ad 5c5838e690 - Add a couple of XXX comments.
- lb->lb_cpu doesn't need to be filled in lockstat_event().
2006-09-07 01:03:02 +00:00
ad beafae096b Add the 'lockstat' driver, which collects basic information about lock events. 2006-09-07 00:20:28 +00:00
gdamore 942bfe3e30 Add support for new todr entry points for drivers- todr_gettime_ymdhms and
todr_settime_ymdhms.  This allows drivers to avoid repeated conversions, and
allows us to centralize check for Y2038 overflow.   As discussed on
tech-kern.
2006-09-07 00:10:49 +00:00
rumble cfba0d26d0 Avoid a panic on adapter check interrupts: the 'tl_restart' callout expects
a pointer to struct ifnet, not tl_softc.
2006-09-07 00:00:02 +00:00
simonb e099b5edda Add \n to end of autoconf message. 2006-09-06 06:26:54 +00:00
gdamore 50d22dfb8e Convert time.tv_sec to time_second. 2006-09-05 21:59:51 +00:00
plunky ac9c65b377 Halt the callout on detach 2006-09-05 18:14:57 +00:00
rumble d5dbfe8cbd Make this work with timecounters. 2006-09-05 17:31:31 +00:00
elad 95ed982c27 Fix two horrible bugs found during a routine audit session with Brett Lymn.
First one was incorrectly loading entries -- we were treating each file as
a mount, which resulted in huge mess. I have no excuse for how I didn't
catch this earlier.

Second, use the table name we create for the Veriexec sysctl node and not
the fixed "table0".

Both are fileassoc(9) integration fallout.
2006-09-05 13:02:16 +00:00
oster f23a530674 Per a suggestion from Manuel, make numBlocks and partitionSize
unsigned for now.  This prevents rf_reasonable_label() from rejecting
a valid label when these fields have an integer overflow.  The reality
is that these need to be 64-bit quantities, but that will come later.
2006-09-05 01:55:21 +00:00
gdamore a37acb1b52 Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.
2006-09-04 23:45:30 +00:00
dan 1860a17382 typo in debug printf 2006-09-04 22:51:42 +00:00
martin 16f200486d Add support for IO-DATA's USB-Serial adapter (USB-RSAQ3),
from Keiichi SHIMA.
2006-09-04 15:39:39 +00:00
riz 2f9f5c5846 Remove unused members of sk_softc. 2006-09-04 00:54:40 +00:00
christos 93a520d8b0 fix initializers 2006-09-03 22:17:35 +00:00
christos e82a0f88ae add missing initializer. 2006-09-03 21:45:28 +00:00
christos 77c903b90a add missing initializer 2006-09-03 21:42:55 +00:00
christos 00c11ed953 add missing initializers 2006-09-03 21:42:09 +00:00
christos c5b9d17001 add missing initializer 2006-09-03 21:38:23 +00:00
christos ad4f70a8e8 add missing initializer. 2006-09-03 21:30:24 +00:00
christos 2dfeed7693 fix initializers. 2006-09-03 21:28:03 +00:00
christos b231088be0 add missing initializer 2006-09-03 21:16:09 +00:00
christos 3088ae53a7 - add missing initializer
- remove stray semicolon that prevented an ioctl from working.
2006-09-03 21:09:46 +00:00
christos 40be650c67 add missing initializers. 2006-09-03 21:05:01 +00:00
christos 224c7c746b add missing initializer. 2006-09-03 21:03:11 +00:00
christos c35f9741bc add missing initializer. 2006-09-03 21:00:01 +00:00
christos 4e0d743b9e add missing initializers 2006-09-03 20:59:18 +00:00
bouyer 2aee9a0f50 Back out rev 1.149.
From various discussion about vndstrategy (see
http://mail-index.netbsd.org/tech-kern/2005/03/29/0034.html
http://mail-index.netbsd.org/tech-kern/2005/03/23/0015.html)
it's not correct to tsleep() in a strategy routine, which may be called from
interrupt context.
Unfortunably this reopens PR/10731, PR/12189, PR/20296, PR/34293

As for what the correct fix it, this needs to be analysed deeper. I suspect
throttling the caller in vnd only hides the problem; the same caller writing
to some other device could exaust all buffers as well. If this driver doesn't
need to allocate buffer this won't cause a deadlock, but it's bad for
performances on systems with e.g. multiple drives. Also, others stacked
block device drivers may also have this issue.
2006-09-03 19:49:34 +00:00
bouyer bedc649eed stop attaching when a bus_dma operation fails, instead of using bogus
addresses.
Remplace vtophys() with proper bus_dma(9) use.
This driver now works properly on Xen
2006-09-03 19:06:32 +00:00
martin 452f35b603 Regen 2006-09-03 18:30:54 +00:00
xtraeme 44522b1f90 * Add support for ICH8 and ICH8M SATA/RAID controllers.
* If the controller is in AHCI, ask for SATA IDE mode of operation.

jsg@openbsd says:

"X60/T60 Thinkpads are shipped in AHCI configuration by default,
 this makes them work without changing a BIOS option."

Tested by eye of the beholder. From OpenBSD.

Ok'ed tls.
2006-09-03 18:30:35 +00:00
martin 1b5905d05b Add RASQ3 variant of PL2303 serial 2006-09-03 18:30:23 +00:00
bjh21 dacb75acff All ports that use the file do so through files.pckbport, so there's no
need to be cautious about including "pckbd.h".  This has the side-effect
that ports using pckbd but not defining __HAVE_NWSCONS will now get pckbd
attached as console if they call pckbport_cnattach(), but I don't think
any such ports exist.
2006-09-03 13:23:15 +00:00
xtraeme 02fa0947d7 Add support for PDC40519 and PDC40779... from obsd. 2006-09-03 12:18:03 +00:00
xtraeme 4769f26cd2 regen 2006-09-03 12:14:32 +00:00
xtraeme 3a3373ee8e Add missing PDC20265 device... removed accidentally in previous. 2006-09-03 12:13:56 +00:00
xtraeme 5a91328568 regen 2006-09-03 12:02:53 +00:00
xtraeme 4e23c01c3f Add some missing devices from Promise and sort them. 2006-09-03 12:02:30 +00:00
xtraeme f42bb991ca regen 2006-09-03 10:20:13 +00:00
xtraeme af16e7909e Add some ICH8 devices... from obsd. 2006-09-03 10:19:26 +00:00
xtraeme fdcb59bf6d Add support for nvidia MCP61/65 IDE/SATA Controllers. 2006-09-03 08:42:32 +00:00
xtraeme bbdb91feca regen 2006-09-03 08:39:15 +00:00
xtraeme 316d722a4c Erm forgot to add MCP61/65 SATA Controllers and sort them. 2006-09-03 08:38:52 +00:00
xtraeme 7465ee1052 regen 2006-09-03 08:10:47 +00:00
xtraeme 4b06824243 - Add all pciids for nvidia MCP61/65 controllers, from obsd.
- Improve description in all them.
2006-09-03 08:10:18 +00:00
xtraeme ea4f30c7b7 Add support for MCP61/65 controllers... from obsd. 2006-09-03 07:42:04 +00:00
xtraeme 3a6aed3622 regen 2006-09-03 07:36:34 +00:00
xtraeme e85b72eeee - Add nForce MCP61/65 LAN controllers... from obsd.
- Improve description in some nForce controllers as well.
2006-09-03 07:36:10 +00:00
christos 92a6344549 add missing initializer 2006-09-03 07:14:47 +00:00
christos 08a78fe175 use c99 initializers 2006-09-03 07:13:46 +00:00
christos 6e6fde1336 add missing initializer 2006-09-03 07:07:20 +00:00
christos db87199efc use c99 initializers 2006-09-03 07:06:39 +00:00
christos 80d7cf4588 - add missing initializer
- add missing function decl
2006-09-03 07:05:16 +00:00
christos bbf2deb35f - add missing initializer
- inline comes first
2006-09-03 07:02:54 +00:00
christos 0c58aff5f5 add missing initializers 2006-09-03 06:46:22 +00:00
christos 328ed75351 add missing decl 2006-09-03 06:42:44 +00:00
christos 05bd5641dd add missing initializers 2006-09-03 06:41:38 +00:00
christos 48c3e87853 add missing initializer 2006-09-03 06:26:27 +00:00
christos 01edefa570 comment out unreachable code 2006-09-03 06:23:27 +00:00
christos 996634386c comment out unreachable code. 2006-09-03 06:22:05 +00:00
christos 4905e82e29 add missing initializer 2006-09-03 05:30:48 +00:00
christos c11c8c78df add missing initializers 2006-09-03 05:29:46 +00:00
christos b3d983dd18 add missing initializer 2006-09-03 05:24:47 +00:00
christos 5b7c1e90d5 add missing decl. 2006-09-03 05:23:59 +00:00
christos 4ac9cd5ebe add missing initializer 2006-09-03 05:20:21 +00:00
christos 7ed28205b6 - add missing initializer
- comment out impossible comparison
2006-09-03 05:19:38 +00:00
christos 144543fb61 add missing initializer 2006-09-03 05:18:03 +00:00
christos 60dfc6ed9c add missing initializers 2006-09-03 05:16:01 +00:00
christos eb7cb3e07d - add missing initializers
- remove impossible comparison
2006-09-03 05:12:54 +00:00
christos 624d950194 add missing initializer 2006-09-03 05:11:30 +00:00
christos 26733bed2e - comment out impossible comparisons
- remove superfluous if statement
2006-09-03 05:10:24 +00:00
christos 7de21598de - add missing initializer
- correct function decl.
2006-09-03 05:04:57 +00:00
christos 93582079db add missing initializer 2006-09-03 05:02:21 +00:00
christos 309d51fb22 add missing initializers 2006-09-03 04:56:33 +00:00
christos 2ef37e3f61 use c99 initializers 2006-09-03 04:52:14 +00:00
christos a96f0dc641 avoid empty if statements 2006-09-03 04:27:11 +00:00
christos 3cd45450e8 redo with c99 initializers 2006-09-02 18:59:46 +00:00
christos bd4bd1bf9d - comment out impossible comparison
- add missing initializer
2006-09-02 18:58:02 +00:00
christos 5ec7f32544 add missing initializers 2006-09-02 17:02:57 +00:00
xtraeme 05670fe773 Remove unused variable to make this build again. 2006-09-02 09:26:47 +00:00
christos b6994507c5 add missing initializer 2006-09-02 07:23:53 +00:00
christos faec8658c7 - fix incomplete initializer
- static goes first
2006-09-02 07:10:51 +00:00
christos 0668b0a2e0 static goes first 2006-09-02 07:08:39 +00:00
christos 7d1781d944 - fix incomplete initializer
- static goes first
2006-09-02 07:07:33 +00:00
christos b5da945622 comment out unreachable code 2006-09-02 07:06:03 +00:00
christos a91b63349c add missing initializer 2006-09-02 07:04:46 +00:00
christos a569a4d291 add missing initializer 2006-09-02 07:01:20 +00:00
christos 9f681d6f65 comment out impossible code 2006-09-02 07:00:23 +00:00
christos 489fe1e988 add missing initializers 2006-09-02 06:56:30 +00:00
christos b819e0b190 Add missing initializer 2006-09-02 06:54:18 +00:00
uwe ff25c8d7b7 s/dreamcast/sh3/ to cover landisk. 2006-09-01 20:28:14 +00:00
matt 49b2425f19 Use an unsigned int for the blksize on read_cd_capacity. 2006-09-01 03:29:32 +00:00
dyoung 013444d78c Remove the declaration of an unused local variable 'reg'. 2006-09-01 03:24:58 +00:00
reinoud 0b228f5987 Fix panic on reading/writing to a (raw) CD device and encountering an
error. It now correctly sets bp->b_resid to the full size of the buffer.
The failed SCSI read/write command allways contains the complete buffer.

When encountering a read (or write) error, the scsipi stack sets the
xs->resid to zero since the command has been accepted by the drive. The
scsi command set does not allow a partial read or write to be performed and
will signal a success or an error.
2006-08-31 21:32:42 +00:00
reinoud e3b1c755c2 Remove two spurious empty lines in functions 2006-08-31 20:22:34 +00:00
reinoud 055cdf5d13 Fix fencing bug on CD disk size; the comment was wrong, its the *length* of
the device and since we count from zero its equal to the number of sectors
and thus one higher than the last sector.

This fixes the read/write problems on the (raw) device where the last
sector was not readable/writable.
2006-08-31 19:46:54 +00:00
dyoung 8cd106d3d2 Per discussion on tech-kern and tech-userlevel, move the bit-twiddling
macros, __BIT, __BITS, SHIFTIN, SHIFTOUT, and __arraycount() from
lib/libkern/libkern.h to sys/cdefs.h.  Add a __-prefix to SHIFTIN
and SHIFTOUT, and add a manual page for the bit-twiddling macros,
bits(3).

Make the __BIT and __BITS macros "widthless," as best I can, by
changing their type to uintmax_t from uint32_t.  XXX The manual
page lags this change by a bit.

Define __PRIxBIT and __PRIxBITS printf(3) format strings.
2006-08-31 19:24:37 +00:00
matt 3d36667ef9 Appease GCC4 by making /* NOTREACHED */ code return 0. 2006-08-31 18:31:59 +00:00
rumble cc8a477ce5 Add quirks for the Phobos GIO Fast Ethernet boards. 2006-08-30 23:32:07 +00:00
rumble e980865174 Phobos boards (my G130 at least) have a non-standard srom layout. Try to
identify it and pull out the enaddr.
2006-08-30 23:31:08 +00:00
rumble 75e28cc7ed Make this compile again when TLDEBUG is defined. 2006-08-30 23:29:01 +00:00
plunky 999bb1e465 It seems that EHCI at least will complete a empty transfer with
status == NORMAL_COMPLETION.

Guard against that.
2006-08-30 19:42:37 +00:00
christos 738af19b41 fix initializers. 2006-08-30 19:25:46 +00:00
christos a2b752877c fix incomplete initializer. 2006-08-30 19:16:03 +00:00
christos e6aa223b06 - fix initializers
- comment out dead code.
2006-08-30 17:07:33 +00:00
christos 514b3fccd7 fix initializer 2006-08-30 17:00:15 +00:00
christos 9d7a9c4079 fix initializers 2006-08-30 16:59:34 +00:00
christos ce149b700c fix initializers. 2006-08-30 16:55:06 +00:00
christos bf74b6c774 add missing initializers 2006-08-30 16:51:24 +00:00
christos 048533a23b complete initializers. 2006-08-30 16:49:07 +00:00
christos 989f6e4d42 avoid empty if body. 2006-08-30 16:45:40 +00:00
christos 26f4467d26 fix initializers. 2006-08-30 16:43:56 +00:00
christos a7239032fa Fix initializer 2006-08-30 16:42:04 +00:00
christos e9198d13b8 fix initializer. 2006-08-30 16:38:23 +00:00
christos 46d616fab0 fix incomplete initializers. 2006-08-30 15:46:58 +00:00
christos 13714b86fb comment out impossible comparison. 2006-08-30 15:27:18 +00:00
christos f5d9b98eb1 add missing initializer 2006-08-30 15:25:58 +00:00
christos c1d5ec6516 add missing initializers. 2006-08-30 15:14:11 +00:00
christos 5bfce2e9a7 fix incomplete initializers 2006-08-30 02:15:33 +00:00
christos ca858a7e11 static goes first 2006-08-30 02:13:20 +00:00
christos ee0887af27 fix missing initializer 2006-08-30 02:11:42 +00:00
christos afca61baba add missing initializers 2006-08-30 02:09:40 +00:00
christos 366af49b8e - fix missing initializations
- remove stray semicolon, that screwed up error checking
2006-08-30 02:08:20 +00:00
christos 2e252670b5 static goes first 2006-08-30 02:00:26 +00:00
christos 1158495345 fix order of decl 2006-08-30 01:59:06 +00:00
christos 37fbc95466 add missing initializer 2006-08-30 01:27:56 +00:00
christos 0340a0cbcd fix incomplete initializer 2006-08-30 01:24:40 +00:00
christos d76c7ff74a - fix missing initializer
- fix < 0 comparison with unsigned
2006-08-30 01:14:24 +00:00
christos b80f5be1eb fix incomplete initializers 2006-08-30 01:10:46 +00:00
christos f202705964 fix incomplete initializer 2006-08-30 01:09:39 +00:00
christos f432f36f7f missing comma 2006-08-30 00:54:28 +00:00
christos a87d6a05e0 fix incomplete initializers 2006-08-30 00:53:47 +00:00
christos 976d4b3f1c - fix incomplete initializer
- remove unsigned comparison < 0
2006-08-30 00:51:48 +00:00
christos 16f3fda8be fix incomplete initializers 2006-08-30 00:42:41 +00:00
christos 2ddf5cde1a fix incomplete initializers. 2006-08-30 00:41:46 +00:00
christos 15a77ddab7 fix incomplete initializer 2006-08-30 00:40:56 +00:00
christos cb09e23ee7 fix incomplete initializer 2006-08-29 23:45:23 +00:00
christos c65db33038 fix incomplete initializer. 2006-08-29 23:42:18 +00:00
christos f649f50b35 fix incomplete initializer 2006-08-29 23:41:12 +00:00
bjh21 8009229e9b The Fujitsu drive in my A540 supports sync transfers but apparently
doesn't advertise this in INQUIRY.  It makes it nice and obvious with
SDTR, though, so add it to the list.
2006-08-29 20:40:23 +00:00
macallan eda93ea91b those should have been committed along with radeonfb.c
doh
2006-08-29 17:09:33 +00:00
macallan 10bb91db88 - use RADEON_DEFAULT_MODE when no EDID data available
- let only root mmap PCI resources through wscons
- allow IO access on macppc
2006-08-29 00:50:29 +00:00
christos f7747a2a56 fix incomplete struct decl. 2006-08-28 21:37:37 +00:00
christos a0917ad69e fix incomplete initializers 2006-08-28 21:33:16 +00:00
he 4c2420029f Add duplicate include protection to <dev/sun/kbio.h>.
Make the x68k port use this include file, so that what remains
is only the port-specific additions.
2006-08-28 17:15:24 +00:00
he 4493c76313 Use the common <dev/sun/vuid_event.h> header file instead of maintaining
separate copies in port-specific directories.  Add duplicate include
protection.  Makes the alpha and atari ports build usr.bin/kdump/ again.
2006-08-28 16:41:04 +00:00
xtraeme 6c90d7030b Remove unused variable 'periph' to make this build. 2006-08-28 11:45:38 +00:00
plunky f2c2a49a27 Make suspend/resume work properly for bt3c device.
Since state is kept inside the device that will be lost, we need to
flush all information relating to this controller from the protocol
stack.
2006-08-28 10:34:33 +00:00
christos df7450f605 Fix uninitialized variables. 2006-08-28 02:58:16 +00:00
christos 4e4ed26fac add missing initializer 2006-08-28 00:38:47 +00:00
christos 6ab0a579ce Add missing initializer. 2006-08-28 00:22:15 +00:00
christos 87fd29be14 static goes first. 2006-08-28 00:18:30 +00:00
christos f7db588ec4 add missing initializer. 2006-08-28 00:14:50 +00:00
christos d3b80ef998 remove impossible conditional 2006-08-28 00:10:20 +00:00
christos 6e913df162 remove unreachable code. 2006-08-28 00:08:38 +00:00
christos a19f83e53b add missing initializer. 2006-08-28 00:07:35 +00:00
christos 63f68a892b remove unreachable code. 2006-08-28 00:06:14 +00:00
christos 78cdbd8e9c add missing initializer. 2006-08-28 00:04:21 +00:00
christos 7546f55be3 add missing initializer 2006-08-28 00:01:36 +00:00
christos 2735c71895 static comes first. 2006-08-28 00:00:23 +00:00
christos a98a1f3b7b Add missing initializers. 2006-08-27 23:59:40 +00:00
christos ff62f5c658 add missing initializers. 2006-08-27 23:54:50 +00:00
christos d137310d6b add missing initializer 2006-08-27 23:53:10 +00:00
christos ca960afcce Oops, this is not ready yet. 2006-08-27 23:51:31 +00:00
christos 72c8baf57c Add missing initializer 2006-08-27 23:50:53 +00:00
christos cdda2124d1 Fix incomplete declaration. 2006-08-27 23:33:35 +00:00
christos 4a778ebf9a - static needs to be first
- complete the cdevsw
2006-08-27 23:31:15 +00:00
christos c689e59cb9 restructure ifdefs 2006-08-27 23:27:44 +00:00
christos 1624b1a623 typo 2006-08-27 23:23:48 +00:00
christos d22d88fc75 ifdef out unreachable code. 2006-08-27 23:23:02 +00:00
christos 35f0d726a8 complete initialization 2006-08-27 23:21:35 +00:00
christos 925d11f2f5 complete declarations 2006-08-27 23:19:03 +00:00
christos ec7d898cf1 Complete the declaration. 2006-08-27 23:13:47 +00:00
christos 7e11d29fc2 Delete unsigned comparison with < 0 2006-08-27 22:33:49 +00:00
bjh21 b42a1dca38 Revert revision 1.4: it seems to have caused serious problems on sgimips,
so I should probably leave it until I get my Indy going.
2006-08-27 22:32:54 +00:00
christos d5ca3efd41 undo previous. Andy says the struct is used in pkgsrc. 2006-08-27 21:39:39 +00:00
christos 1b3d66a467 Sprinkle _KERNEL. 2006-08-27 20:32:44 +00:00
christos 9db6f7d836 #ifdef out unused ioctl (and wrong) 2006-08-27 20:26:34 +00:00
christos 9c90e26bcf Fix typo 2006-08-27 20:11:31 +00:00
christos 52975efd5a Grr. Don't define _KERNEL! Most of the kernel files do #ifdef _KERNEL 2006-08-27 19:19:47 +00:00
christos 06869f0ad3 don't call variables errno! including from userland breaks things! 2006-08-27 19:18:08 +00:00
christos b34c6cdc81 PR/34293: Michael van Elst: vnd deadlocks on I/O buffers
Also fixes: PR/10731, PR/12189, PR/20296
Sleep while there a buffer shortage.
2006-08-27 18:45:20 +00:00
xtraeme f61564f6ba Initialize a variable to 0 to appease gcc4 with -O3. 2006-08-27 17:05:39 +00:00
bjh21 f379f539d2 Use symbolic names for CSR values after reset. 2006-08-27 13:13:36 +00:00
plunky c980b109dd BluetootH SCO Audio update.
Provide an ioctl to set the SCO mtu value in the controller and
place limits in the SCO code such that only packets of this size
may be sent.

Move the mtu option from btsco(4) and btdevctl(8), to the
btconfig(8) program.

Remove temporary BLUETOOTH_SCO kernel option, and enable SCO
socket access.

Fix incoming connection handling for btsco(4) and SCO sockets.

Fix documentation to reflect the new world order.
2006-08-27 11:41:58 +00:00
bjh21 5616d106f8 acorn26 hasn't had sbic since before it became acorn26. 2006-08-27 10:14:20 +00:00
christos 52c2319234 Regen 2006-08-27 08:16:44 +00:00
christos 8270ea8a29 PR/34289: Stéphane Witzmann: Add some missing PCI devices in pcidevs 2006-08-27 08:16:16 +00:00
christos ecdff16f80 - use dk_lookup instead of our home-spun version.
- allow raid to be configured in a wedge
- allow wedges to be configured in a raid
- add autoconfiguration of wedges in a raid
2006-08-27 05:07:12 +00:00
christos b7a6606cb6 Add horrible hack for wedges. Why is the block device of the wedges in use? 2006-08-27 05:00:00 +00:00
christos 1a789da3ec Use dk_lookup. 2006-08-27 04:58:40 +00:00
bjh21 eb74489b57 When receiving a SCSI message, it's important not to deassert ACK on the last
byte until we've worked out what to do with the message, since if we plan
to reply to it we have to assert ATN before deasserting ACK.  Implement this.
2006-08-26 23:55:22 +00:00
bjh21 286856d098 QAS REQUEST is a one-byte message. Make MSG_IS1BYTE recognise this. 2006-08-26 23:32:55 +00:00
bjh21 604c7b6558 Use standard MSG_IS1BYTE, MSG_IS2BYTE, and MSG_ISEXTENDED macros rather
than rolling our own.
2006-08-26 22:37:07 +00:00
bjh21 c981542cbe Use the 'z' size modifier when printfing size_t, so that GCC doesn't complain
on systems were size_t isn't unsigned int.
2006-08-26 22:33:18 +00:00
bjh21 2cd3c4f0e6 Move the sgimips "sbic" driver from arch/sgimips/hpc/sbic.c to
dev/ic/wd33c93.c.  This may not be the best WD33C93 driver we've
got, but it's the most recently worked on and probably the most
portable, so it seems like a good basis for further work (and in
particular an acorn26 driver for the Acorn SCSI card).  There's
no functional change in this commit, and sgimips kernels still
compile.
2006-08-26 22:06:36 +00:00
christos dace278549 PR/34292: Aaron Hodgen: twa driver incorrectly reports drive size/description 2006-08-26 19:35:51 +00:00
riz df667bafa9 In sk_watchdog(), attempt to reclaim pending TX descriptors before
resetting the hardware.  Should fix occasional watchdog timeouts
seen with this driver.

From FreeBSD, via OpenBSD.
2006-08-25 20:16:57 +00:00
riz 62cb42312d Cleanup, with no functional changes:
- remove unused code
	- KNF
	- ANSI function declarations
	- replace printf() with aprint_error() except in debug functions
	- a few minor indentation/whitespace changes
2006-08-25 02:34:30 +00:00
riz 0284fe298f Regen (Marvell product IDs) 2006-08-24 22:40:59 +00:00
riz 4a163d3c68 Add a bunch of Marvell product IDs, from OpenBSD. 2006-08-24 22:40:20 +00:00
dbj f7434c5451 avoid diagnostic panic if both blk and chr wedge are open at the same time 2006-08-24 21:57:11 +00:00
bjh21 b223d41e99 gettime and settime functions are meant to return errno values. Make
the pcf8583 ones do so.
2006-08-23 21:21:34 +00:00
christos f73c6e5980 Change iostat_alloc() to take the parent pointer and the name directly, so
that callers are not responsible for initializing the fields. Store the name
inside the struct instead of maintaining a pointer to external storage, or
leaked memory (nfs case).
2006-08-23 17:19:32 +00:00
christos f0f1731b24 Acting as Elad's keyboard:
Place the securelevel checks in their logical locations.
This will be clearer in the future when code changes to use kauth(9) calls.

input and okay ad@
2006-08-23 15:44:29 +00:00
cube 7db2b0d746 Regen (Broadcom NetXtreme II). 2006-08-23 13:55:48 +00:00
cube 7de2074ec7 Add Broadcom NetXtreme II devices. 2006-08-23 13:54:37 +00:00
kent dab6bf2001 implement auto-detection of volume resolutions 2006-08-23 11:24:07 +00:00
riz a9815feffa Vendor GALILEO is now MARVELL. 2006-08-22 21:42:19 +00:00
riz ec9d914ee6 Regen for GALILEO -> MARVELL 2006-08-22 21:41:12 +00:00
riz 3f9d78d294 Rename vendor GALILEO -> vendor MARVELL . Marvell bought Galileo years
ago, we have little existing stuff in the tree, and this will make it
easier to keep certain network drivers in sync with other OSes.

OK matt@, uwe@
2006-08-22 21:40:17 +00:00
riz 2314dce488 Add byteswapping where appropriate, to allow things to work on
(at least some) bigendian systems - I tested on macppc.

From brad@openbsd .
2006-08-22 06:24:10 +00:00
uwe b320dcd170 Fix a pasto: save CONFIG_HOOK_PMEVENT_AC hook in the correct variable.
From Adam Wysocki on port-hpcsh@.
2006-08-22 01:55:00 +00:00
riz a06f7205fb Some cleanup in skc_attach():
- does not need splnet()
	- disestablish the interrupt and unmap bus space on failures.
2006-08-20 18:04:53 +00:00
riz c250a823e7 Make this driver compile when SK_USEIOSPACE is defined - I have no
evidence that this is actually needed except for the existence of the
code itself, but if it's going to be here, it should compile.  Tested
briefly on my ASUS motherboard with built-in sk interface.
2006-08-20 16:03:30 +00:00
christos 9d18036adc PR/34241: Dave Sainty: Bound a memcpy to the sizeof the buffer where we
are trying to save the contents, instead of trying to copy what the lenght
of the acpi resource tells us.
2006-08-20 15:10:59 +00:00
plunky 066074b94f Make btdev default count explicit 2006-08-20 07:06:57 +00:00
macallan 1ab7fe6df2 fix a typo so we actually write sane values into the clipping registers 2006-08-19 17:57:13 +00:00
plunky 95d2b886d7 The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.
While it can be made to compile, the paradigm is not quite right because
it attempts to contact the filesystem during autoconfig which sometimes
causes a panic. Even if that was fixed, there is another potential problem
in that the driver tries/sleeps/tries/sleeps and the sleep could
theoretically sleep past the rc.d/btconfig stage and the controller
would remain unconfigured.

So, I have prepared a different method for loading the firmware to
Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
the firmware files via a ugen(4) device interface.

This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
driver so that it will not attach to Broadcom BCM2033 based devices before
the firmware was loaded.

This fixes kern/34219
2006-08-19 16:35:02 +00:00
skrll 326bcc171a Add some sysctl knobs to bring us closer to the FreeBSD driver.
Also sysctl enable the debug message printing (if IWI_DEBUG) is defined.
2006-08-19 06:32:52 +00:00
macallan ea7df82ebc fix some typos, add mmap() support for X
needs options RADEONFB_MMAP_BARS for now
2006-08-19 04:39:32 +00:00
macallan f5804719cd make this work on macppc.
fixes and caveats:
- will switch to 32bit colour, 8bit support needs some more work
- added support for fonts with widths that aren't multiples of 8
- for now the driver will always try to become system console
- mode switching works but is ugly
- all the acceleration bits work
- X should work with wsfb, mmap() needs some more work
- it still needs a hack to allow wsdisplay_cnattach to be called twice
2006-08-19 04:00:15 +00:00
uwe dee7f461a0 G/c unnecessary includes. 2006-08-18 02:42:38 +00:00
bjh21 279e0fb4d4 There seems to be no good reason for sfbp(4) to be commented out here, and its
state is breaking alpha builds.  I'll uncomment it and see what breaks.
2006-08-17 22:19:13 +00:00
he f4ad138e01 Make this build again without OBOE_DEBUG defined (get rid of warnings
about unused variables).
2006-08-17 22:14:38 +00:00
christos 35ca6c8b5b Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
2006-08-17 17:11:27 +00:00
gdamore 0d7e99a27a Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software.  ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!
2006-08-16 22:46:44 +00:00
gdamore f943f04933 2nd try. Fix errors (hopefully) that prevented this from compiling. This
has not been tested, as I lack the tools necessary to build this (and can't
bootstrap pmppc toolchain for some reason.)

Requested by garbled@
2006-08-16 21:28:36 +00:00
bjh21 c189c05750 Remove various devices that acorn32 no longer has. 2006-08-14 22:05:45 +00:00
itohy cdb1835aff ACPI frontend for Yamaha OPL3-SA[23].
Derived from PR kern/33991 by jasper at pointless dot net.
2006-08-14 09:34:43 +00:00
jmcneill e0a36ed3ff Reclaim resources from an initial vga console on attach. 2006-08-13 20:27:33 +00:00
jmcneill 28ff3283af Acceleration definitions (missed in previous commit). 2006-08-13 20:26:55 +00:00
jmcneill 5effc9a4f9 Expose RGB palette tables. 2006-08-13 20:25:47 +00:00
jmcneill d7fd667c03 Provide a method for other display drivers to ask vga to free resources
it had claimed while acting as the initial console device. This allows
(for example) vga to be the initial console, and an accelerated
framebuffer driver to take over later.
2006-08-13 20:24:51 +00:00
martin b28babedf4 Backout previous - it is already dealt with at the config level. 2006-08-13 19:17:11 +00:00
martin 4ada5572ad Make the discovery methods optional (as they were already declared
in conf/files)
2006-08-13 18:45:08 +00:00
jmcneill ef21ee74e6 Add accelerated putchar and cursor ops. Also fix a bug in copyrows that
caused scrolling down to always fail.
2006-08-13 14:16:44 +00:00
plunky 6232d01b2d Remove obsolete file from repository 2006-08-13 13:59:45 +00:00
dsainty 07955f97ca Add support for the Promise PDC20771, present on the Promise FastTrak TX2300.
This support is not based on a datasheet, because a datasheet is not readily
available for this chip.  However, Promise have partially open sourced their
driver for Linux, and all suggestions are that the PDC20771 is pretty similar
to other recent SATA chips.

The TX2300 has two ports, but there is unoccupied space on the board for a
third PATA port.  It isn't entirely obvious how many channels the PDC20771 can
support.

The pdc205xx_drv_probe probe is necessary to avoid probing two wd* devices for
every physical device.
2006-08-13 09:39:25 +00:00
dsainty cff0bb36bb Regen: Add the Promise PDC20771, present on the Promise FastTrak TX2300 2006-08-13 08:02:07 +00:00
dsainty 1a778d636e Add the Promise PDC20771, present on the Promise FastTrak TX2300 2006-08-13 08:00:14 +00:00
oster 505c134201 Apply a change from damien in OpenBSD: fix a use-after-free (read)
of a mbuf in wpi_tx_intr().
2006-08-13 03:52:33 +00:00
jmcneill 7c8d725f94 Add acceleration support for the VIA UniChrome driver. While here, fix a
bug that caused the screen to be filled with annoying vertical lines.
2006-08-13 03:37:02 +00:00
jmcneill bdbf1a3323 Add rasops16 attribute to unichromefb. 2006-08-13 03:34:11 +00:00
simonb af29995e74 Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.
2006-08-13 02:21:45 +00:00
nakayama 8f342cb589 Avoid gcc4 warnings; voice is unsigned so no need to check "voice < 0". 2006-08-12 00:34:39 +00:00
reinoud 12283b1fe9 Fix incorrect `loast possible lba' reporting, remove some empty lines and
add mmc classification for some still rare HD DVD device types.
2006-08-10 14:45:51 +00:00
simonb 4abae2e82a Regen. 2006-08-10 13:22:54 +00:00
simonb 3ec8720588 Fix typo in 3945 Intel wireless card name.
Pointed out in private mail by Jean-Baptiste Campesato.
2006-08-10 13:22:12 +00:00
cube 9979ca290b iwi now needs firmload [hi nick!] 2006-08-10 12:22:25 +00:00
skrll 7274555f30 s/printf/aprint_error/ for one message. 2006-08-09 11:49:41 +00:00
skrll 6458f6d488 Adapt iwi(4) to use firmload(9) and remove firmware loading from
iwictl(8).
2006-08-09 11:35:59 +00:00
jnemeth d80f12f934 regen for Token Ring additions 2006-08-09 05:51:01 +00:00
jnemeth 83d05c6102 add some Token Ring devices 2006-08-09 05:47:08 +00:00
cube d45fad2e7e Add support for the 631xESB/632xESB. 2006-08-08 19:38:34 +00:00
cube 8a1f50f6c7 Regen (Intel 63xxESB devices). 2006-08-08 19:37:35 +00:00
cube 46e1877148 Add device IDs for Intel's 631xESB/632xESB southbridges, and start the list
for the 5000X northbridge.  I'll add the rest later, the spec is currently
unavailable so I'll collect them from another source.
2006-08-08 19:37:00 +00:00
mrg daf321dbca fix a GCC uninitialised variable warning only seen at -O3. 2006-08-08 10:32:09 +00:00
oster 803c52c2a4 sc_size should be a 64-bit quantity. Notice by Matthias Drochner. 2006-08-07 20:02:22 +00:00
oster ff30fd25f5 Fix a minor typo in a comment. 2006-08-07 17:08:18 +00:00
mhitch 1d4e083680 gcc4 uninitialized variable. gcc3 apparently didn't catch this one. 2006-08-07 01:31:36 +00:00
jmcneill 4b802ec0e1 PR/12843: Workaround for CS4280 on IBM ThinkPads. From Stephane Witzmann.
Note: This workaround conflicts with piixpm(4); you will need to disable
the piixpm driver if you need this fix.
2006-08-06 16:21:11 +00:00
jmcneill 0eb9f3fd24 Regen. 2006-08-06 15:48:34 +00:00
jmcneill 5672a65632 Add entry for IBM ThinkPad audio. From Stephane Witzmann. 2006-08-06 15:48:12 +00:00
christos dfb16d34c3 PR/34117: Takuya SHIOZAKI: enhancement for acpiapm(4)
- make sleep state corresponding to standby/suspend changeable by using sysctl,
- make sure to generate APM events appropriately.
- arrange the code for getting power status.
2006-08-06 15:47:51 +00:00
christos 0fe2e6efc3 PR/34116: Takuya SHIOZAKI: acpiapm(4) misuses config(9)
acpiapm(4) always matches the first node of AML, which is unrelated
with acpiapm. Separate acpi(4)'s children into two individual interface
attributes.
2006-08-06 15:46:54 +00:00
xtraeme 07e7c5a439 HPT368 support. Patch from Jonathan A. Kollasch via PR kern/34097.
Thanks.
2006-08-05 22:31:13 +00:00
sanjayl 265929b20e 1st cut of Powermac G5 support (uses bridge mode). 2006-08-05 21:26:48 +00:00
bsh f3f5bb0be8 regen 2006-08-03 03:06:32 +00:00
bsh 065a50f8cf Device 10de:026c is not AC-97 controller but nForce430 HD Audio controller.
Pointed out by Brad.  Thanks.
2006-08-03 03:01:39 +00:00
rpaulo d9e2b32d75 Don't read the firmware twice. Noticed by Nick. 2006-08-02 13:58:39 +00:00
jmcneill 7c1d2c6776 Forgot to commit this last night -- add the unichromefb(4) driver. 2006-08-02 11:26:16 +00:00
jmcneill 051b75db82 Add work-in-progress framebuffer console driver for the VIA UniChrome
integrated graphics family.
2006-08-02 01:44:09 +00:00
xtraeme 08e3be34b6 Match nForce3 250 SATA2. 2006-08-01 20:38:50 +00:00
xtraeme 1b6aac49b2 regen 2006-08-01 20:37:43 +00:00
xtraeme 3b17bf7207 Add nForce3 250 SATA2. 2006-08-01 20:37:02 +00:00
bsh b6116cb922 Support nForce430's audio.
(I have tested this only with nFroce410, not with nFroce430)
2006-08-01 18:31:53 +00:00
martin a0680cae8a If the card presents 64bit memory, map it as that.
Fixes PR kern/34045.
2006-08-01 18:11:32 +00:00
bsh a271f8d4ca regen 2006-08-01 17:29:18 +00:00
bsh ea0e607e09 add an another device ID for AC-97 controller in nForce430 (MCP51).
XXX: I found this ID on MSI K8NGM-V, which has nForce410. Maybe 0x26b is
for 410 and 0x26c for 430?
2006-08-01 17:20:51 +00:00
lukem 755b4414f2 If there's any wd quirks in use, display them. 2006-08-01 07:19:07 +00:00
jmcneill 82c477c076 regen 2006-07-30 22:41:52 +00:00
jmcneill 9d27901109 Add VIA VT3314 (CN900) UniChrome integrated graphics 2006-07-30 22:41:38 +00:00
oster 1c1c99da5c Regen 2006-07-30 21:09:54 +00:00
oster 8084d0b099 Recognize another Intel PRO/100 VM Network Controller. 2006-07-30 21:09:00 +00:00
bouyer ae11e4655e Add some missing splvm()/splx() around uvm_km_* I noticed. 2006-07-30 10:49:48 +00:00
simonb 6c1cfac08b Add support for 82945GM and (untested) 82945P AGP. FreeBSD and
Linux both treat the 945 series exactly the same as the 915 series
for AGP, so just match a few extra device IDs.
2006-07-30 04:23:44 +00:00
simonb 041946b812 Regen. 2006-07-30 04:18:25 +00:00
simonb aaba845631 Add 82945P_IGD.
Should this be "82945G_IGD", and other 945 device IDs have G instead of P
suffix?
2006-07-30 04:17:42 +00:00
tsutsui 351cfbb29b scc (alpha) was removed ~4 years ago. 2006-07-30 03:02:07 +00:00
wiz 7df24bdea9 - dc, dtop, scc (pmax), they were removed yesterday. 2006-07-30 00:39:27 +00:00
riz 184df1b6fd Correct an error introduced in rev 1.3; if there are no sensors of a
given type, this is indicated by "low" > "high" in the envsys_range
struct - the comments (and revision 1.2 of this file) indicate there are
no sensors of type ENVSYS_SVOLTS_AC, so fix viaenv_ranges[] to agree
with this.
2006-07-29 21:03:24 +00:00
ad d8360081f7 Remove RASTERCONSOLE support from the pmax port. 2006-07-29 19:10:56 +00:00
ad a08a363b0d Remove unused variable. 2006-07-29 18:48:14 +00:00
wrstuden 7cfa6f224f Updated driver, contributed by Jordan Rhody of Wasabi Systems.
Main fix is to improve reliability under heavy load and frequent
status monitoring.
2006-07-29 00:13:57 +00:00
wrstuden 94e89e2961 Updated twa driver contributed by Jordan Rhody of Wasabi systems.
Correct AEN severity values.
2006-07-28 19:23:53 +00:00
scottr aed25205e0 Regenerate with correct rcsids 2006-07-28 08:57:03 +00:00
ad 76274213ea Correct first arg to falloc(). 2006-07-28 08:51:05 +00:00
scottr f9be1a6de9 Add Siemens SS1021 WLAN. 2006-07-28 08:02:39 +00:00
kent 6e5c3f3d89 add support for S/PDIF. 2006-07-28 07:41:39 +00:00
kent add0e05fda add support for AC'97 S/PDIF 2006-07-27 15:35:01 +00:00
kent 117c4cc6d5 add capability to support for S/PDIF.
If a codec supports for AC'97 S/PDIF, it will have an mixer "spdif.enable."
However, we can't change the value of the mixer without AC'97 host
driver's support.
2006-07-26 14:44:33 +00:00
itohy ae1a2ff3d3 Remove ADM9511's "signature".
I don't think it is used anywhere.
2006-07-26 14:21:20 +00:00
tron 30d6332135 Bluetooth fixes by Iain Hibbert:
Remove bthset(4) device and add btsco(4) in its place. This is an
improved version which is not just for headsets, as it can receive
incoming connections (eg for Hands Free Profile). Update bthset(1)
control utlitiy to relate to new device.
2006-07-26 10:43:01 +00:00
tron 5d67049004 Bluetooth fixes by Iain Hibbert:
- Update bthidev(4) to use property lists for configuration.
2006-07-26 10:40:50 +00:00
tron 4241fec1bf Bluetooth fixes by Iain Hibbert:
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
2006-07-26 10:30:59 +00:00