Lukas Ertl
664e22ad1e
Since vinum doesn't fake disklabels anymore, remove get_volume_label().
...
Also, remove stale write_volume_label() declaration; the write_volume_label()
function was deleted 8 months ago.
Approved by: grog (mentor)
2004-03-09 09:50:15 +00:00
Nate Lawson
dba55fa26d
Simplify some logic in converting a buffer to an integer.
2004-03-09 05:44:47 +00:00
Nate Lawson
cc58e4ee5e
Use an unsigned int instead of an int for the Get/Set Integer interface.
...
Pointed out by: le
2004-03-09 05:41:28 +00:00
Olivier Houchard
7ff7c6b9ad
Use one bus_dma_tag_t for all pSRB instead of creating one for each.
...
Free what is allocated for pSRBs at unload time or if something bad happens,
thanks to scottl for spotting this out.
2004-03-07 17:23:39 +00:00
MIHIRA Sanpei Yoshiro
ff89e92686
Sync to 1.166 of usbdevs
2004-03-07 05:34:36 +00:00
MIHIRA Sanpei Yoshiro
b34b7c59ee
Add support 2 devices(USB-DVD-R drives)
...
- Logitec LDR-H443SU2
- IO-DATA DVR-UEH8
PR: kern/63793
Submitted by: Ryuji MATSUMOTO <matumoto@pluto.ai.kyutech.ac.jp>
MFC after: 1 week
2004-03-07 05:33:09 +00:00
Bill Paul
d329ad6035
Add preliminary support for PCMCIA devices in addition to PCI/cardbus.
...
if_ndis.c has been split into if_ndis_pci.c and if_ndis_pccard.c.
The ndiscvt(8) utility should be able to parse device info for PCMCIA
devices now. The ndis_alloc_amem() has moved from kern_ndis.c to
if_ndis_pccard.c so that kern_ndis.c no longer depends on pccard.
NOTE: this stuff is not guaranteed to work 100% correctly yet. So
far I have been able to load/init my PCMCIA Cisco Aironet 340 card,
but it crashes in the interrupt handler. The existing support for
PCI/cardbus devices should still work as before.
2004-03-07 02:49:06 +00:00
Mathew Kanner
0d8ed52ea5
Augment /dev/sndstat with the module names, if applicable.
...
Approved by: tanimura (mentor)
2004-03-06 15:52:42 +00:00
John Baldwin
6074439965
kthread_exit() no longer requires Giant, so don't force callers to acquire
...
Giant just to call kthread_exit().
Requested by: many
2004-03-05 22:42:17 +00:00
John Baldwin
12dd6da62c
Lock Giant around the body of the adlink_loran() function used by the
...
adlink device kthreads.
2004-03-05 22:41:22 +00:00
Nate Lawson
08b994c07e
Document a sysctl.
...
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
2004-03-05 18:08:23 +00:00
Nate Lawson
9db195a8d1
A user can set tz_requested via the hw.acpi.thermal.tzX.active sysctl.
...
The previous logic meant that if a user sets it to a minimal cooling value
acpi_thermal will not use higher cooling levels. Reverse the logic so that
the user requesting a level (say, 2) also gets 0 - 1 also.
PR: kern/61592
Submitted by: Andrew Thompson <andy@fud.org.nz>
2004-03-05 18:06:31 +00:00
Poul-Henning Kamp
7896170112
Implement a crude but functional usbd_ratecheck() to limit the number
...
of "usb0: %d scheduling overruns" messages I have to contend with.
2004-03-04 20:49:03 +00:00
Søren Schmidt
c5df0d743e
Only setup sii_reset on sii311[24].
2004-03-04 16:39:59 +00:00
Thomas Quinot
71fe368a83
Use auto-sense data provided by the lowlevel ATA code.
2004-03-04 15:37:39 +00:00
Bruce M Simpson
5f5a4d72d6
Nursemaid: Fix tinderbox builds by removing the shadowing of the global
...
preprocessor macro DEBUG. DEBUG() -> CTAU_DEBUG().
2004-03-04 14:16:12 +00:00
MIHIRA Sanpei Yoshiro
d7bd2883ec
Sync to 1.165 of usbdevs
2004-03-04 07:22:30 +00:00
MIHIRA Sanpei Yoshiro
a439ea6c55
Add support SimpleTech UCF-100 USB CompactFlash reader(OnSpec Electronic, Inc.)
...
PR: kern/63619
Submitted by: Greg Rivers <gcr@sa.fedex.com>
MFC after: 1 week
2004-03-04 07:20:48 +00:00
Nate Lawson
4ed391b8d7
Fix an off-by-one error and rework our EC space handler. Writing to address
...
0xFF would fail previously as AE_BAD_PARAMETER. It's unknown if this caused
any actual problems.
2004-03-04 05:58:50 +00:00
Nate Lawson
c181b89bc1
Don't disable Cx support and throttling on machines with a P_BLK_LEN != 6
...
even though the spec mandates this. Some have a value of 5 to indicate
throttling + C2 and some have 7 to indicate an extra C3 state. Support
throttling if the value is >= 4, C2 for >= 5, and C3 for >= 6.
2004-03-04 05:17:52 +00:00
Nate Lawson
4e376d58dc
Add a "quirks" value to disable quirks handling for a given boot.
...
Also, disable quirks if booting with a custom DSDT. Add a quirk
to disable loading ACPI so known bad systems can be completely
blacklisted.
2004-03-04 04:42:59 +00:00
Nate Lawson
c310653ea1
Change to acpi_{Get,Set}Integer to provide both methods. Convert all
...
callers to the new API.
Submitted by: Mark Santcroos <marks@ripe.net>
2004-03-03 18:34:42 +00:00
David E. O'Brien
3dae0ce68f
Peter prefers it this way, bde might also[*]. I just want to have a chance
...
of working on amd64 for vmware use.
[*] bde will probably not like either version...
2004-03-03 08:33:34 +00:00
David E. O'Brien
d92dc3946d
Prefer uintptr_t to intptr_t.
2004-03-03 08:27:33 +00:00
David E. O'Brien
dd921920ee
Use a long as the opaque type so that it matches the size of a pointer
...
on both 32-bit and 64-bit platforms.
2004-03-03 08:24:31 +00:00
David E. O'Brien
13545b10a4
Adjust lnc(4) for 64-bit platforms should it get newbus'ified.
2004-03-03 06:54:26 +00:00
David E. O'Brien
a9653b1cc3
Adjust ed(4) for 64-bit platforms should it get newbus'ified.
2004-03-03 06:48:42 +00:00
David E. O'Brien
77b72a2216
Use a long as the opaque type so that it matches the size of a pointer
...
on both 32-bit and 64-bit platforms.
2004-03-03 06:20:36 +00:00
David E. O'Brien
37580b343a
Add memory barrier routines for AMD64.
2004-03-03 06:19:03 +00:00
David E. O'Brien
5ec0232d34
Cast thru intptr_t on the way to void* for success on 64-bit platforms.
2004-03-03 06:18:29 +00:00
Nate Lawson
3184cf5a6b
Add support for quirks for acpi tables. Key off OEM vendor and revision.
...
Sort acpi debug values. Change "disable" to "disabled" to match rest of
the kernel. Remove debugging from acpi_toshiba since it was only used for
probe/attach.
2004-03-03 03:02:17 +00:00
Poul-Henning Kamp
9ed40643ea
Make swapbacked md(4) devices respect the -x and -y emulation arguments.
2004-03-02 20:13:23 +00:00
Peter Wemm
ed1b77af8c
Add new Matrix Orbital LCD panel id's so that they are recognized and
...
attached via uftdi->ucom.
2004-03-02 19:03:26 +00:00
Peter Wemm
ec88698685
Regen
2004-03-02 19:01:56 +00:00
Peter Wemm
2c711f0694
Add some device id's for Matrix Orbital's newer LCD panels. These use
...
another ftdi usb->serial bridge with different ID's.
2004-03-02 19:01:30 +00:00
Roman Kurakin
232c8325ba
1. Fix compilation and panic while system boot problem after makedev was
...
changed to unde2dev.
Approved by: imp (mentor)
2004-03-02 16:44:07 +00:00
Roman Kurakin
752aeaf074
1. Renames NCT constant to NCTAU. This will help while MFC to 4 branch.
...
2. Fix compilation and panic while system boot problem after makedev
was changed to unde2dev.
Approved by: imp (mentor)
2004-03-02 16:39:40 +00:00
Søren Schmidt
f0aafe7d84
If being verbose in the autosense code, print the original error.
2004-03-02 16:16:54 +00:00
Søren Schmidt
37baea5bd5
Report the original command on failures that causes auto sense.
...
Keep the ATA_R_QUIET flag if set during autosense.
2004-03-02 14:05:12 +00:00
Søren Schmidt
c4c0e4fc3b
Fix getting progress data for some device in yet another way.
...
Take advantage of the new autosense logic.
2004-03-02 14:03:43 +00:00
Julian Elischer
8fc8ef2efe
When we get a packet error, move on, don't go into an infinite loop
...
looking at it.
fixes at least one cause of "hanging" due to this driver.
2004-03-02 05:43:42 +00:00
Julian Elischer
f2b1c1580a
Whitespace changes to match rest of file..
2004-03-02 01:46:34 +00:00
Scott Long
a770030306
Change another pointer name that was missed in the previous commit.
...
Spotted by: njl
2004-03-01 21:45:49 +00:00
Scott Long
d488190531
Check and free the actual pointer the was used in a malloc instead of
...
checking and freeing a different pointer that may or may not have been
assigned the same value. This should fix panics under load that were
recently reported.
2004-03-01 21:27:14 +00:00
Søren Schmidt
e7c9858a8f
Remember to mtx_destroy mutexes.
2004-03-01 13:17:07 +00:00
Nate Lawson
c58375c3a5
Add the ACPI standard video extensions driver. I've done some style cleanup
...
but a bit more reamins to be done. For now, it is usable.
Submitted by: Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>
2004-03-01 08:12:56 +00:00
Bernd Walter
7de8778318
add driver for BWCT console management serials
2004-03-01 02:34:49 +00:00
Colin Percival
e07113d65c
Use DEV_BSIZE byte sectors instead of PAGE_SIZE byte sectors for
...
swap-backed memory disks. This reduces filesystem allocation overhead
and makes swap-backed memory disks compatible with broken code (dd,
for example) which expects to see 512 byte sectors. The size of a
swap-backed memory disk must still be a multiple of the page size.
When performing page-aligned operations, this change has zero
performance impact.
Reviewed by: phk
Approved by: rwatson (mentor)
2004-02-29 15:58:54 +00:00
Poul-Henning Kamp
db42ff97da
Remove unused FDNUMTOUNIT() macro
2004-02-29 10:21:40 +00:00
Søren Schmidt
9a19089d86
Rearrange sense_key and sense_data to get alignment right.
...
Submitted by: Marcel
2004-02-29 09:35:29 +00:00