Commit Graph

4235 Commits

Author SHA1 Message Date
thorpej
df9803ce96 Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00
heas
ace2071bfa Add sysctl node hw.tweN.driver_version whose value is FreeBSD's driver version
number for now.  This is used by 3ware's FreeBSD version of their CLI to find
controllers and check the driver version.
2005-02-20 19:01:47 +00:00
jdolecek
81abc346eb Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD
2005-02-20 18:34:33 +00:00
jdolecek
d39b670320 regen: change the VIATECH VT61XX to VT612X 2005-02-20 18:07:29 +00:00
jdolecek
19501c2f29 change the VIATECH VT61XX to VT612X 2005-02-20 18:06:17 +00:00
jdolecek
2a0d290c56 use VLAN_* macros for VLAN tag extraction/addition 2005-02-20 15:56:03 +00:00
jdolecek
2bba43d247 use VLAN_* macros for VLAN tag extraction/addition
XXX the HW VLAN tagging code stays disabled, same as before
2005-02-20 15:55:54 +00:00
jdolecek
dc8941eb32 use VLAN_* macros for VLAN tag extraction/addition
also restructure and simplify input VLAN ID code handling somewhat, to not use
local have_vlan/vlan_tag variables, and use the appropriate cur_rx condition
on the one place where it's needed
2005-02-20 15:48:35 +00:00
thorpej
846027d4f3 Re-apply changes that were mistakenly lost by the previous revision. 2005-02-18 05:58:31 +00:00
briggs
b7b84489c8 Update the interrupt mitigation support.
Actually initialize the interrupt throttling register.
Actually initialize the tx and tx absolute interrupt delay timer regs.
Update default values for the rx and tx delay timers.
Inspired by Zdenek Salvet in PR kern/29373.
2005-02-18 04:32:35 +00:00
heas
f5a6c8bf2f Adjust csum_data usage; mask off the high 16 bits for L4 header stuff offset
and make use of the L3 header length from the high 16 bits such that an
m_pullup is no londer necessary.
2005-02-18 01:21:02 +00:00
heas
d6e174eefd Adjust csum_data usage; mask off the high 16 bits. 2005-02-18 01:10:44 +00:00
briggs
10a93c41d6 Allow MAXPHYS-sized instead of IDEDMA_BYTE_COUNT_MAX-sized transfers
to be described by a transfer table.
2005-02-15 12:20:37 +00:00
lukem
b088f0cb30 Add some more stripe sizes observed in the field.
Add "JBOD" to twe_table_unittype[].
2005-02-15 05:56:34 +00:00
briggs
f5218aad0f Move the definition of NIDEDMA_TABLES from pciidereg.h to be closer to
its only user in pciide_common.c.  Also redefine NIDEDMA_TABLES to match
the max DMA transfer size specified in the call to bus_dmamap_create()
(IDEDMA_BYTE_COUNT_MAX instead of MAXPHYS).
The macro is also redefined to handle devices that have a PAGE_SIZE greater
than sc_dma_maxsegsz (buggy revision of satalink 3112 on ibm4xx).
2005-02-15 03:18:22 +00:00
fredb
e4ad980fcd "output.source" on the Ensoniq 1371 really should be "input.source". Making
it so lets the audio(4) interface -- play.port and play.gain -- attach
properly.  Analysis and patch provided by Joachim Kuebart in PR kern/29178.
2005-02-13 23:58:38 +00:00
jdolecek
739cd954dd constify 2005-02-13 09:10:54 +00:00
rearnsha
d0a75ee514 Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs.  Put the flag in opt_pciide.h.
2005-02-12 10:20:50 +00:00
rearnsha
dfcdd57e20 Add support for the Artisea device operating in DPA mode.
Approved by briggs.
2005-02-11 21:12:32 +00:00
simonb
3cebd9325e White space nit- don't put a space before/after increment/decrement
operators.
2005-02-11 06:21:21 +00:00
briggs
fb9f110c8c Use aprint_*() instead of printf() at attach time. 2005-02-08 05:16:17 +00:00
cube
d16fd94009 Initialize 'error' in all cases in ioctl handler, otherwise it doesn't
compile (and of course might return garbage).  [hi kim!]
2005-02-06 08:52:08 +00:00
kim
f045f7096d If the interface is up and running, only modify the receive filter
when setting promiscuous or debug mode.  This avoids resetting the
chip unnecessarily.

Fixes PR kern/29126.
2005-02-06 03:15:14 +00:00
perry
18db93c7f6 de-__P 2005-02-04 02:10:35 +00:00
christos
ba2396e33b Regen 2005-02-02 13:26:28 +00:00
christos
34508c6918 PR/29196: Robert Elz: Add support for Broadcom BCM4401-B0 ethernet 2005-02-02 13:26:06 +00:00
abs
f29f37c830 Regen to pick up corrected code for VIA VT6421 2005-02-02 11:20:40 +00:00
abs
0d94353073 Reminder not to trust cheap no-name packaging. VIA product 0x3249 is
a VT642*1* not VT642. Also add to list in viaide manpage and note
that drives need to be configured into RAID/JOBS sets via its BIOS.
http://www.via.com.tw/en/products/peripherals/serial-ata_raid/vt6421/
2005-02-02 11:19:49 +00:00
gson
971beb8edb Generate an interrupt only after processing all the samples in a block
rather than at the time of the last sample, to eliminate a click at the
end of each block when recording.  Fixes kern/18066.
2005-02-02 10:34:12 +00:00
abs
d3852ae541 regen to pick up the 'VT642 SATA RAID Controller'. 2005-02-01 18:21:58 +00:00
abs
6660565bb0 Add 'VT642 SATA RAID Controller'. It looks like a viaide, it smells
like a viaide... but you can only address the drives once you have
put two or more of them into a RAID or JBOD.
2005-02-01 18:21:14 +00:00
thorpej
0fa67488f7 - Fix some logic errors in multi-descriptor packet reception case for
DP83820.
- Eliminate use of M_HASFCS.
2005-01-30 18:56:34 +00:00
thorpej
505f0442e5 Eliminate use of M_HASFCS. 2005-01-30 17:33:48 +00:00
jdolecek
f9b584bd58 match nForce2 Ultra 400 audio 2005-01-27 21:49:29 +00:00
jdolecek
7f0a422006 regen: add id for nForce2 Ultra 400 audio 2005-01-27 21:48:37 +00:00
jdolecek
0716a9ca67 add id for nForce2 Ultra 400 audio 2005-01-27 21:48:15 +00:00
kent
0e68407cf6 support nForce 4 2005-01-27 13:35:05 +00:00
kent
75432eafa2 support for nForce 4 PATA and SATA 2005-01-27 13:34:32 +00:00
kent
44200be30d regenerate for nForce 4 devices 2005-01-27 13:33:36 +00:00
kent
ab57a51809 add some nForce 4 devices 2005-01-27 13:31:45 +00:00
scw
1464f79e43 In vr_start(), don't forget to free the new mbuf if the second
bus_dmamap_load_mbuf() fails.
2005-01-27 11:58:01 +00:00
jmcneill
fac3e15af3 Fix typo. 2005-01-27 03:03:33 +00:00
jmcneill
7f3681fe2b Don't restore PCI configuration state if the chip isn't in D0, from
Kentaro A. Kurahone.
2005-01-27 02:58:52 +00:00
jmcneill
27d1abf7f8 Capture PCI configuration state on suspend and restore it on resume, from
Kentaro A. Kurahone.
2005-01-27 02:44:59 +00:00
jmcneill
73f985e393 Add agp_i810 powerhook, from Kentaro A. Kurahone 2005-01-27 02:43:42 +00:00
jmcneill
41a62b176d Add rtk_pci powerhook, from Kentaro A. Kurahone 2005-01-27 02:42:35 +00:00
jmcneill
6a3e1ea6a4 Missed a break in the powerhook (shouldn't matter functionally, but
fix anyway for correctness).
2005-01-26 22:15:26 +00:00
jmcneill
f9fc6336b1 Add pci_conf_{capture,restore} to auich(4) powerhook 2005-01-26 21:53:42 +00:00
jmcneill
0c537484ca Add powerhook to bge(4) 2005-01-26 21:52:47 +00:00
jmcneill
5a6c12cd3b Add powerhooks for PIIX IDE driver. 2005-01-26 21:50:31 +00:00