njl
3e47387119
Add TUNABLE_STR to make "hw.acpi.os_name" more correct. However, the call
...
to getenv_string() still doesn't work.
2004-01-27 06:07:09 +00:00
wpaul
6d190d0786
Use the M_BZERO flag with malloc() in a couple of places.
2004-01-27 03:14:59 +00:00
jhb
217fb330c2
Move the code to initialize ACPI-CA into a separate acpi_Startup() function
...
that other modules can call to initialize ACPI-CA before the new-bus probe
and change acpi_identify() to call it.
Reviewed by: njl
2004-01-26 19:29:04 +00:00
harti
eefcd12e91
Get rid of the last two uses of NG_NODELEN + 1 in the base system by
...
replacing them with NG_NODESIZ.
2004-01-26 16:41:21 +00:00
matk
507ddae3aa
Fix a panic in dsp_clone when trying to access a sound
...
device that doesn't exists. I'm using my discretion and
committing without mentor approval since Seigo is away.
Noticed by: Maxime Henrion <mux@freebsd.org>
2004-01-25 22:46:22 +00:00
wpaul
983ec1a4d4
Correct KASSERT() in ndis_destroy(): ndis_mtx is a pointer now.
...
Also add KASSERT() for ndis_intrmtx().
2004-01-25 00:13:07 +00:00
sobomax
28bee9f635
Regen after rev. 1.161 of usbdevs.
2004-01-24 21:24:36 +00:00
sobomax
19842da546
Add support for Crystalfontz CFA-631 USB LCD (uftdi(4) driver).
...
For some very unclear reason this device contains a FTDI 8U232AM USB->COM
adapter, but reports different device id than original 8U232AM. At the same
time, it reports vendor id of FTDI.
Sponsored by: Porta Software Ltd
MFC after: 2 weeks
2004-01-24 21:23:12 +00:00
sanpei
76b78c430b
Sync to 1.160 of usbdevs
2004-01-24 07:15:23 +00:00
sanpei
7a7b2ea977
Add Support
...
- 2nd type of GL641USB USB-IDE bridge [1]
- Plextor Plexwriter 40/12/40U [2]
PR: kern/61671 [1]
kern/61803 [2]
Submitted by: Ralf Wenk <RZ-FreeBSD0401@fh-karlsruhe.de> [1]
Feisal Mohammed <feisal@uwi.tt> [2]
MFC after: 1 week
2004-01-24 07:14:07 +00:00
wpaul
e5e785e0d4
Add missing newlines to some device_printf()s.
...
Don't do anything in ndis_get_assoc() if the link isn't up (avoids
spurrious "couldn't get bssid" messages on the console).
2004-01-24 02:48:22 +00:00
mjacob
939fc514b7
If we have ISP_ROLE_INITIATOR set, make sure that we clear ICBOPT_INI_DISABLE
...
from the fwoptions. Likewise, we *set* ICBOPT_INI_DISABLE if we don't have
initiator role.
2004-01-23 23:23:31 +00:00
mjacob
b8527c05c4
add MAKE_WWN_FROM_NODE_NAME macro
2004-01-23 23:22:35 +00:00
mjacob
ec1bdb4850
Add firmware major, minor and micro revsions to the ISP_FC_GETHINFO ioctl
...
structure.
2004-01-23 23:22:11 +00:00
simokawa
21c2acb52a
* fwohci_pci.c
...
Improve error message for attach failure.
* sbp_targ.c
- Add speed in struct sbp_targ_login.
- Remove unnecessary htonl().
2004-01-23 17:37:09 +00:00
matk
48d5bd2f8c
Sync with DFBSD v.1.16. Add new codecs IDs, fix some spelling.
...
Approved by: des (interim mentor)
2004-01-23 16:38:54 +00:00
sos
928e6e1d2c
Fix breakage in PIO multisector support.
2004-01-23 10:38:56 +00:00
jhb
9f48959707
Fix the PCI attach routine to properly setup the IRQ and port resource
...
rid's and to deallocate resources if a failure occurs during attach. This
patch also fixes the driver to return failure if bus_alloc_resource() for
the IRQ fails rather than panic'ing on the next line by passing a NULL
resource to bus_setup_intr(). The other attachments already do all this.
Submitted by: Jun Su <csujun@263.net>
2004-01-22 16:07:03 +00:00
simokawa
9e559fd52a
Add missing free() in exception handlers.
...
Reported by: Stanford Metacompilation research group
2004-01-22 14:41:17 +00:00
wpaul
c46d660722
Add suspend and resume methods. I'm not certain this work correctly
...
since I can't easily test them on my laptop right now, but they
should do the right thing.
2004-01-22 03:00:59 +00:00
wpaul
39e6c1e2a7
Add support for TCP/IP checksum offload.
...
No, really.
2004-01-22 02:36:34 +00:00
wpaul
dda01dfaf8
Fix multicast and promiscuous mode handling for Yukon devices.
...
Submitted by: Jung-uk Kim <jkim@niksun.com>
2004-01-21 22:32:15 +00:00
ume
e8cce017e5
Sync to pccarddevs 1.81.
2004-01-21 16:03:40 +00:00
ume
1bc38b5944
There is PANASONIC KXLC005 which has another product id.
2004-01-21 16:02:20 +00:00
cognet
34be712a35
Setting pccb->ccb_h.status to CAM_REQ_CMP one time is enough.
2004-01-21 10:49:42 +00:00
grehan
6825bfd3e6
__powerpc__ conditional code for the syscons OpenFirmware/PPC framebuffer.
...
Took the opportunity to reduce
__i386__ || __ia64__ || __amd64__ || __sparc64__ || __powerpc__
to
!__alpha__
reviewed by: gallatin
2004-01-21 05:08:51 +00:00
jhb
8e0fa372ea
Use getenv_int() rather than reimplementing it.
2004-01-20 21:38:48 +00:00
sos
dcc245d4e9
Update the support for the VIA 8237 southbridge.
2004-01-20 16:51:02 +00:00
wpaul
687bdc6939
Correct instances of mtx_lock()/mtx_unlock() that should have been
...
mtx_pool_lock()/mtx_pool_unlock().
2004-01-20 08:19:42 +00:00
matk
1d6b947293
Reduce latency when using the SNDCTL_DSP_RESET ioctl by calling
...
chn_resetbuf().
Submited by: Pyun YongHyeon <yongari@kt-is.co.kr>
Approved by: tanimura (mentor)
2004-01-20 05:30:09 +00:00
matk
ebfd4faca3
Fix a panic when kldloading a sound driver. Do this by replacing the
...
link-list of dev_t's with named variables. Remove used code.
Approved by: tanimura (mentor)
2004-01-20 03:58:57 +00:00
sos
5948092ae2
Fix breakage on timeout/retries. The bug cause a sema to be leaked so
...
that the calling process would newer wakeup.
2004-01-19 15:20:00 +00:00
sanpei
792ce20149
Sync to 1.159 of usbdevs
2004-01-19 12:53:23 +00:00
sanpei
21eb5ac49b
Add support IO-data DVD Multi-plus unit iU-CD2
...
PR: kern/61578
Submitted by: Masaharu FUJITA <m@fjts.org>
MFC after: 1 week
2004-01-19 12:51:40 +00:00
wpaul
a5104c2f15
Properly program the multicast filter in ndis_setmulti(),
...
and fix promisc mode in ndis_ioctl().
2004-01-19 07:03:46 +00:00
wpaul
2bcdd99de4
Convert from using taskqueue_swi to using private kernel threads. The
...
problem with using taskqueue_swi is that some of the things we defer
into threads might block for up to several seconds. This is an unfriendly
thing to do to taskqueue_swi, since it is assumed the taskqueue threads
will execute fairly quickly once a task is submitted. Reorganized the
locking in if_ndis.c in the process.
Cleaned up ndis_write_cfg() and ndis_decode_parm() a little.
2004-01-18 22:57:11 +00:00
ru
ebbfae5191
Fixed a memory leak.
...
Reported by: Stanford Metacompilation research group
Reviewed by: scottl
2004-01-18 17:34:11 +00:00
ru
d1f9a77c02
Fixed a memory leak.
2004-01-18 17:21:15 +00:00
ru
a69314d272
Fixed a memory leak.
...
Reported by: Stanford Metacompilation research group
2004-01-18 16:55:01 +00:00
sos
9d9c0df372
Fix botch in last commit.
2004-01-18 15:58:30 +00:00
ru
13fe9dd8f8
Apparently there's a good reason why M_WAITOK malloc() is done before
...
xpt_create_path().
2004-01-18 13:09:38 +00:00
ru
5aee609e60
Fixed a memory leak.
...
Reported by: Stanford Metacompilation research group
2004-01-18 12:49:36 +00:00
sanpei
69d79b6f35
Empty vendor string overrides knowndevs
...
ubd_devinfo_vp() is getting an empty string from its usbd_get_string()
call on the vendor, instead of NULL. This means usb_knowndevs in not
consulted.
Add lines between grabbing those char *s and the USBVERBOSE ifdef to
set vendor to NULL if it is the empty string (similarly for product).
This causes vendor to be filled-out, although the product name read
overrules usb_knowndevs (this appears to be a conscience decision made
by the NetBSD folks):
PR: kern/56097
Submitted by: Hal Burch <hburch@lumeta.com>
MFC after: 1 week
2004-01-18 12:46:19 +00:00
ru
d658e46d99
Fixed a memory leak.
...
Submitted by: Stanford Metacompilation research group
2004-01-18 12:32:06 +00:00
ru
7a1096b2a1
Fixed a memory leak.
...
Submitted by: Stanford Metacompilation research group
2004-01-18 12:26:33 +00:00
sos
523bdbcc21
Add missing free's.
2004-01-18 10:50:40 +00:00
yar
ccef0e945a
Avoid overwriting capability bits marked earlier
...
when setting HW checksum offload bits.
Enable available capabilities properly.
Reviewed by: sam
2004-01-18 10:15:48 +00:00
sanpei
505b251609
Pay attention to the timeout value passed down by the upper layer.
...
(NetBSD src/sys/dev/usb/umass.c rev.1.67)
PR: kern/58649 (Problem 1)
Submitted by: SAKIYAMA Nobuo <sakichan@sakichan.org>
MFC after: 1 week
2004-01-18 09:19:53 +00:00
sanpei
341447b777
Sync to 1.158 of usbdevs
2004-01-18 09:04:57 +00:00
sanpei
1c710b8381
add device id for PANASONIC KXLRW32AN(USB CD-R/RW,not yet support)
2004-01-18 08:02:34 +00:00