Commit Graph

14450 Commits

Author SHA1 Message Date
kanaoka c3ce5c6811 Regen. Add SMC 8041TX 10/100 Ether PC Card. 2003-01-16 15:20:18 +00:00
kanaoka 424cccc1e5 Add SMC 8041TX 10/100 Ether PC Card. 2003-01-16 15:18:44 +00:00
gendalia 6fc88ea9a4 Add support for 3com 3c905CX-TX found on nForce2 MCP-T. 2003-01-16 01:02:06 +00:00
gendalia e203560afd add support for nForce2 MCP-T 2003-01-16 01:00:06 +00:00
gendalia 53ab5df4af regen after pcidevs is committed so the correct version number is embedded.
Thanks to wiz.
2003-01-16 00:45:57 +00:00
gendalia 4ae8b800fb Add 3com 3c905CX-TX and Nvidia nForce2 MCP-T ac-97, on the ASUS A7N8X Deluxe
motherboard, Chipset: NVIDIA nForce2 MCP-T
2003-01-16 00:32:46 +00:00
bouyer 2d7b577657 When padding to URL_MIN_FRAME_LEN, memset the extra buffer space used. 2003-01-15 22:40:34 +00:00
bouyer 93ac594a91 Add a #error message asking to fix frame padding (this driver doesn't
compile anyway).
2003-01-15 22:38:59 +00:00
bouyer 194fbd836f Use a properly zero'd buffer to pad the packet to ETHER_MIN_LEN-ETHER_CRC_LEN 2003-01-15 22:35:47 +00:00
bouyer bcae687139 Zero out the NIC memory when padding packet to ETHER_MIN_LEN-ETHER_CRC_LEN
sc->write_mbuf now return len of buffer, including padding.
Tested with a PCI ne2000.
2003-01-15 22:20:03 +00:00
bouyer fddee95ba4 Ragge said this chip should autopad, so just remove the check. 2003-01-15 22:12:31 +00:00
bouyer 65856947c5 Zero out the extra space stolen from mbuf to pad packet to ETHER_MIN_LEN
XXX should it be ETHER_MIN_LEN - ETHER_CRC_LEN ?
XXX2 we assume there are enouth space in the mbuf for the padding bytes.
     But other places in the code assumes this already.
2003-01-15 22:10:25 +00:00
bouyer 0a5eae1855 ragge said this chip should autopad, so just remove the check for len. 2003-01-15 22:08:08 +00:00
bouyer 8951e08c3c Hum, ragge said this chip should autopad, so just remove the check. 2003-01-15 22:05:38 +00:00
bouyer 847cb1fa0d Zero out the buffer when padding packet to ETHER_MIN_LEN-ETHER_CRC_LEN 2003-01-15 22:01:57 +00:00
bouyer ba7f2ad41b Zero out the NIC memory when padding packet to ETHER_MIN_LEN-ETHER_CRC_LEN 2003-01-15 22:00:43 +00:00
bouyer 4199421246 zero out the remaining of last mbuf when padding the packet to ETHER_MIN_LEN
XXX should it be ETHER_MIN_LEN-ETHER_CRC_LEN ?
XXX2 we assume there is enouth room in the last mbuf. The code already assumes
     this in other places.
2003-01-15 21:59:02 +00:00
bouyer fb3e100370 Use a properly zero'd buffer to pad the packet to ETHER_MIN_LEN
XXX should it be ETHER_MIN_LEN-ETHER_CRC_LEN ?
2003-01-15 21:56:06 +00:00
bouyer ab00572d4a Use a properly zero'd buffer to pad the packet to ETHER_MIN_LEN-ETHER_CRC_LEN 2003-01-15 21:53:18 +00:00
bouyer 84c7763ec2 Use a properly zeroed buffer to pad the packet to ETHER_MIN_LEN
XXX should it be ETHER_MIN_LEN - ETHER_CRC_LEN ?
2003-01-15 21:51:47 +00:00
martin c7d20c39f9 Fix typo - make it compile with DIAGNOSTIC. 2003-01-15 21:38:22 +00:00
augustss 16d56c01d2 Regen. 2003-01-15 13:36:23 +00:00
augustss 61f5ebcc50 Add Epson Perfection 2400. From kern/19856, Rob Quinn. 2003-01-15 13:35:55 +00:00
kent f22fb7c9b8 Fixed a problem that /dev/sound can not be opened in some cases.
auich_set_rate() modified audio_params::sample_rate to actual
sample rate though auich_set_params() rejected sample rates
other than some specific rates.  For example, setting 8000Hz
with auich_set_params() modified sample_rate to 7998Hz in the
case of overclocked AC97 codec, and calling auich_set_params()
again returned with EINVAL because sample_rate was 7998Hz and
auich_set_params() rejected 7998Hz.

For now, auich_set_params() never modify audio_params::sample_rate.
2003-01-15 04:49:35 +00:00
wiz 0bd71f2dbc Recognise tuner on WinTV-GO-FM. From PR 19844 by Wolfgang S. Rupprecht. 2003-01-14 11:09:40 +00:00
mrg b45e7ba10d add detach support 2003-01-14 02:23:29 +00:00
tron a7bc8e6057 Add support for Epson Perfection 1260. 2003-01-13 21:51:30 +00:00
briggs 5d3fcb5487 Add dmover to the list of SUBDIRs. 2003-01-13 19:49:59 +00:00
tron ced7282b45 Regen from "usbdevs". 2003-01-13 17:26:33 +00:00
tron 341e2f7441 Add Epson Perfection 1260 scanner. 2003-01-13 17:25:20 +00:00
bouyer 4ceef3ad68 For short (< ETHER_MIN_LEN) packets, supply a zero'd buffer for the extra
bytes to make sure the chip won't send random data.
2003-01-13 17:00:18 +00:00
mrg 090790c7a7 pull across the quirk table from the wss@pnpbios driver and use it identically.
now wss@acpi works on my dell inspiron 3500.
2003-01-13 13:01:15 +00:00
jmcneill d81b190541 Why do I always think 'evaluate' and type 'evalulate'? 2003-01-13 06:26:10 +00:00
toshii 389a24609c Use the correct byte positions to read data returned by DVD_LU_SEND_RPC_STATE. 2003-01-13 03:32:56 +00:00
fvdl 4726f033ed Use 'int' in the SCI interrupt message, not 'irq'. The number in question
is a global ACPI interrupt number.
2003-01-13 01:24:11 +00:00
uwe 333e0ca8a9 Quick patch to allow the (only) screen to be configured with
wsconscfg(8) when it's not being used as the console.
2003-01-12 21:37:59 +00:00
tsutsui 6d0bdd7f1b Don't use non-ASCII chars in comments. 2003-01-12 13:38:27 +00:00
tsutsui 76ce5f5560 Add entries for vt220l8x16 and vt220iso8x16. 2003-01-12 13:12:42 +00:00
tsutsui e16295484c Add another 8x16 pixel VT220 font with ISO8859-1 charactors.
Generated from sys/arch/atari/dev/font_8x16.c rev 1.2.
2003-01-12 13:11:28 +00:00
tsutsui 28f92b4adc Add 8x16 pixel VT220L font generated from /usr/share/wscons/fonts/vt220l.816,
which is derived from pcvt.
2003-01-12 13:08:47 +00:00
jdolecek 6c334c1ee1 fix mistake in the attachment, which caused the device interrupt handler
to not be properly setup
fix provided in PR kern/13621 by ITOH Hideki
2003-01-12 12:53:36 +00:00
christos 0f9b5cdd18 add some more flags used only in acpi.c 2003-01-12 01:15:50 +00:00
dsainty e648b82855 Changed the interface for passing output data between the bthci driver
and the back end Bluetooth device driver.  The device driver now
allocates a suitable buffer on behalf of the bthci driver, and bthci
fills the buffer before despatch.

This saves an ugly temporary allocation (in bthci) and memory copy (in
the USB driver) per write, and also works better with the
sockets-based interface I'm experimenting with.
2003-01-11 06:12:09 +00:00
dsainty 48dd536ca4 Add bthci_util.c 2003-01-11 05:46:11 +00:00
dsainty 23127acc05 Bluetooth HCI protocol constants 2003-01-11 05:44:08 +00:00
dsainty ba8e090575 Utilities for use with Bluetooth drivers 2003-01-11 05:41:57 +00:00
augustss fef43d3aa9 Regen. 2003-01-10 16:42:04 +00:00
augustss 205035d2fa Add two Intel PCI-PCI bridges. 2003-01-10 16:41:39 +00:00
augustss a9dbc85017 Try to get full device descriptor a few times. This makes some slow
devices work.  From FreeBSD.
2003-01-10 11:19:13 +00:00
augustss 89b8fd8b00 Regen. 2003-01-10 11:13:51 +00:00
augustss 7d481b8bc1 Add Epson 1660. From kerm/19767, Neil Short. 2003-01-10 11:06:58 +00:00
augustss cd3665ed2a Add Epson 1660. From kern/19767. 2003-01-10 11:06:13 +00:00
mjl f8a4b3b1a8 Make this work on big endian platforms (mostly from OpenBSD):
Uploaded scripts work better if they are little endian, as the
card's engine expects, so convert to le first.

Also clean up attach routine a bit (use pa_id and PCI_REVISION
instead of fetching it ourselves).

This makes the driver work on my macppc G4, it can decode and
display video and tuner input. Sound does not seem to work, but
this may be my wonky formac bktr-for-macintosh card.
2003-01-10 01:38:52 +00:00
gehenna aab035b2c2 Add quirk for NeoDio ND3050. 2003-01-10 00:52:13 +00:00
gehenna cea6e962cb Regen. 2003-01-10 00:50:55 +00:00
gehenna c77255a12b Add NeoDio A 6-in-1 Flash Device Controller with USB Interface. 2003-01-10 00:50:00 +00:00
thorpej a5fa1cfd6a Use PRIx64 to get the correct format for 64-bit hex numbers. Don't
need \n at the end of a panic().
2003-01-09 19:16:30 +00:00
pk d15d3cbfc0 Add two disks capable of doing synchronous transfer mode, but don't
report SCSI2: "MICROP 1924" and "FUJITSU M2266"
2003-01-09 12:25:00 +00:00
jdolecek 98449270da need to select proper IST for interrupt - IST_NONE is almost certainly not
right

this makes fdc@acpi and com@acpi actually work on my machine; lpt@acpi
change untested, but should be same as fdc and com
2003-01-09 12:23:28 +00:00
jdolecek dca94cc235 _FDE is optional, so don't print warning messages about it failing
unless ACPI_FDC_DEBUG
array returned from _FDE contains UINT32 values, not UINT8; also change
  the magic number '14' to '5 * sizeof(UINT32)' for clarity
remove XXX for the tape presence comment; it's Just Okay to not use the info
fdc_acpi_getknownfds(): if fdc_acpi_nvtotype() returns NULL, don't
  attempt to attach the drive at all

XXX not tested
2003-01-09 12:18:38 +00:00
jdolecek b47e7ca732 use AcpiUtGetTypeName() to print object type name in acpi_print() 2003-01-09 10:35:29 +00:00
dyoung d2e09bb4b6 Oops. This turns off debugging again. 2003-01-09 08:52:19 +00:00
dyoung c4780f2706 wi_start: write an mbuf chain to the driver using wi_mwrite_bap,
which is safer than the loop there used to be here.

wi_mwrite_bap: if wi_write_bap fails, don't keep on going: this
  way you avoid writing garbage to the radio. First time you see
  an odd-length mbuf, copy the remainder of the chain to sc_txbuf
  and from there to the MAC. This way, you do not read an mbuf past
  the end of its data (occasionally you will cross a page doing
  that!) and you avoid expensive, excess seeks in the radio's own
  buffer chain.

wi_rx_intr: clamp the frame length told to us by the driver to the
  most bytes we can fit in our mbuf cluster.

I am still getting e-mails from my testers telling me how much
better this makes things.
2003-01-09 08:49:39 +00:00
jmcneill 41e9687a33 A few fallbacks:
1. If _FDE fails, fall-back to the old-style of drive probing.
  2. If _FDI fails on a drive, assume a 1.44MB 3.5" floppy drive.
2003-01-09 01:25:13 +00:00
jmcneill de1dbc74c4 Enumerate floppy disk drives via ACPI (mmm, faster booting). Known to work
with one floppy drive; not quite sure if the logic handling _FDI is right.
2003-01-09 00:22:39 +00:00
jmcneill 5df8dc3180 Support for 'plug and play' of floppy drives, to be used soon by the
ACPI fdc attachment. Reviewed by fvdl.
2003-01-08 23:51:11 +00:00
fvdl 9f4eb04ccb Print some OEM version info for the R/XSDT. Can be used to help identify
buggy ACPI implementations.
2003-01-08 16:52:49 +00:00
fvdl 524c804fc9 Define ACPI_MADT_DEBUG externally. 2003-01-08 12:33:03 +00:00
fvdl 422f1b7f01 Deal correctly with an MADT that is not found, or was already found
in acpi_madt_{un}map.
2003-01-07 23:05:08 +00:00
martin 9da7636a93 Add SUN4U magic to make nell work without things like WI_AT_BIGENDIAN_HACK.
XXX - need to move this (as well as the equivalent sparc stuff added
recently) outa here into sbus_machdep or something. We should not need
to know details of the actual bus_space implementation here.
2003-01-07 20:39:19 +00:00
fvdl 9352d5f785 * Add aux argument to functions called from apic_madt_walk
* Improve acpi interrupt fixup a bit
	* Source is an array, don't compare it to NULL, instead
	  look for an empty string to denote a link-device-less
	  entry.
	* For root PCI busses, try to use the _BBN method to get
	  numbering right.
* Add acpi_md_callback() function for MD handling after the init,
  but before * at acpi probing.
2003-01-07 18:46:48 +00:00
fvdl 8db111aeb4 Fix error in ODIOCGDINFO handling caused by previous change to it. 2003-01-07 18:35:04 +00:00
rafal f5d0c24512 Fix tyop 2003-01-07 16:37:31 +00:00
grant 3258109e78 regen 2003-01-07 12:20:10 +00:00
grant 0a49647d6b add Cambridge Silicon Radio and their Bluetooth USB Adapter. 2003-01-07 12:19:16 +00:00
matt 5d09a84558 Add multiple inclusion protection. 2003-01-06 21:02:18 +00:00
wiz 1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00
wiz c6f1277bfa synchronous, not syncronous. 2003-01-06 13:10:25 +00:00
wiz 7e681f7063 interrupt with two rs. 2003-01-06 13:04:54 +00:00
wiz 45ad5c9584 successful with only one l. 2003-01-06 12:46:05 +00:00
wiz 5e442fbbdd specified, not specifed. 2003-01-06 12:38:47 +00:00
wiz 6d8cbf7e43 descriptor with a c. 2003-01-06 12:14:26 +00:00
jdolecek b2b3b18bd8 change the 'GPE Block%d defined as GPE%d to GPE%d' message to
ACPI_DEBUG_PRINT(), rather than ACPI_REPORT_INFO(); it's not very useful
normally
2003-01-06 09:33:06 +00:00
jdolecek 855a497919 only print the dot-per-method thing if debugging ACPI_LV_LOAD, too
ACPI_LV_LOAD was chosen quite arbitrarily; perhaps the dot printing
should be removed altogether
2003-01-06 09:30:31 +00:00
sommerfeld df5660c9f3 Fix build glitch. 2003-01-05 23:23:43 +00:00
sommerfeld 7b74535513 When moving the cursor down, only scroll up if cursor is exactly at
bottom of scroll region; don't scroll if below scroll region.
Should fix kern/11827
2003-01-05 23:20:00 +00:00
christos 125b1a5718 Regen, err. Gen. 2003-01-05 22:34:35 +00:00
christos 11bbaf4453 Infrastucture for ACPIVERBOSE 2003-01-05 22:33:53 +00:00
christos c601b2355e add ACPIVERBOSE; while I am there, fix the eval_string function so it does
not leak.
2003-01-05 22:33:21 +00:00
jdolecek fd682b678b it's sufficient to install notify handler once
fix a typo in error printf in acpitz_get_integer()
#if 0 the warning when there is no _TZP
2003-01-05 12:16:22 +00:00
scw 584c708e83 When detaching a ulpt device, call vdevgone() for the corresponding
NOPRIME minor device too.
2003-01-05 10:19:42 +00:00
jmc 216f0f8cde Add some missing splx()'s noted by Krister Walfridsson 2003-01-05 08:11:33 +00:00
jmc da000bb65b Remove arbitrary bufcnt limit in at_output. 2003-01-05 08:03:45 +00:00
jmcneill 3e467b8109 Print something a bit more informative when displaying 'not configured'
messages for objects without a valid HID.
2003-01-05 06:19:05 +00:00
dsainty 97f7cada0b Make the ubt driver functional. This is an experimental, incomplete, but
actually functional driver.  It provides a local HCI interface to the
HCI-over-USB interface on standards-compliant Bluetooth USB devices.

Currently this device can be attached to the bthci driver for direct user-land
access to the device.
2003-01-05 05:20:20 +00:00
dsainty 466f76bf7b Make the bthci driver functional. This is an experimental, incomplete, but
actually functional driver.  It provides user access through a character
device to a Bluetooth HCI capable driver.

The device interface is the same (open/read/write) as the RAW HCI socket
(socket/recv/send) interface provided by the Linux and FreeBSD netgraph
Bluetooth stacks.  This allows a (very small) number of diagnostic programs to
be trivially ported and actually work.
2003-01-05 05:12:38 +00:00
dsainty 6957647e8b Move #define UBT_DEBUG from ubt.c to usb_port.h 2003-01-05 03:48:18 +00:00
fvdl eff9b6d311 Add some code to deal with the MADT. 2003-01-05 01:03:44 +00:00
wiz 617b132aac Spell output with two ts. 2003-01-04 23:43:02 +00:00