118672 Commits

Author SHA1 Message Date
pjd
b1f53a5dc4 MFC: sys/dev/md/md.c 1.161
Call NDFREE() only when vn_open() succeeded.
2006-01-30 23:03:44 +00:00
ticso
7691e4d261 MFC: 1.18 Remove spl / Restart request on USBD_IOERROR. 2006-01-30 22:47:45 +00:00
marius
4a0340a5b3 MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial),
sys/sparc64/fhc/fhc_central.c 1.10, sys/sparc64/fhc/fhc_nexus.c 1.9,
     sys/sparc64/pci/psycho.c 1.59, sys/sparc64/sbus/dma_sbus.c 1.3 - 1.4,
     sys/sparc64/sbus/sbus.c 1.37

- Register the generic implementations for the device shutdown, suspend
  and resume methods so these events propagate through the device driver
  hierarchy.
- Remove dma_setup_intr() (was commented out in RELENG_6).
2006-01-30 22:30:51 +00:00
marius
fdc4af4670 MFC: 1.5
- Only touch the LED bit of the (LED) AUXIO register when turning the
  system LED on or off. Unlike the EBus LED AUXIO register where the
  remaining bits are unused the upper bits of the SBus AUXIO register
  are used to control other things like the link test enable pin of
  the on-board NIC which we don't want to change as a side-effect.
- Remove the superfluous bzero()'ing of the softc obtained from
  device_get_softc().
2006-01-30 21:47:48 +00:00
imp
7f2e5aec50 MFC: Catchup to HEAD
o Move resource allocation into pci layer, rather than duplicating
	  it in this layer (poorly at that).
	o Provide preliminary support for dumping of CardBus card's CIS.
	o Simplify I/O memory range allocations
	o Use PCI layer symbols rather than cardbus layer symbols
	o Improve cis tuple callbacks
2006-01-30 20:04:59 +00:00
imp
04e527ee5b MFC:
1.308, 1.307, 1.306: expose pci_add_resources to the outside
	world.  Implement force in pci_add_map.  Write values of allocated
	resources to the BARs.
	1.304: Improve diagnostic messages
	1.303: Improved resource allocation.
	1.302: Use symbolic names
	1.301: Minor style(9) nitage
	1.296: Allow code to access cached values for CMDREG, CACHLNSZ, MINGNT,
	MAXLAT and LATTIMER.
2006-01-30 18:42:10 +00:00
imp
733d9e5f6a MFC: 1.16 expose pci_add_resources to the outside world (well, pci busses) 2006-01-30 18:38:08 +00:00
imp
44da073941 MFC:
1.69: Remove #ifdef alpha vestige
	1.67: Accessors for CMDREG, CACHELNSZ, MINGNT, MAXLAT and LATTIMER
2006-01-30 18:34:41 +00:00
scottl
b82de437e6 MFC: Diff reduction with HEAD. Whitespace, time_second -> time_uptime,
TAILQ initialization, PCI code refactoring.
2006-01-30 17:56:07 +00:00
glebius
1444c71db7 MFC 1.116:
Check for BGE_RXBDFLAG_IP_CSUM flag before marking mbuf as with valid
  checksum. This fixes operation of PPPoE and other non-IP Ethernet
  protocols.
MFC 1.117:
  Use m_getcl() instead of getting mbuf, and then getting a cluster.
2006-01-30 13:17:44 +00:00
sos
4a73be6cc3 MFC:
Add support for the JMicron JMB360 SATAII controller.
2006-01-30 10:32:40 +00:00
sos
1a40e9ce58 MFC:
Remove accidental debug leftovers.
2006-01-30 10:20:28 +00:00
scottl
6abd390244 MFC rev 1.31: Allow the fast taskqueue to run without Giant 2006-01-30 07:51:10 +00:00
cperciva
b6e09e9ba7 MFC rev. 1.14:
Replace "fetch" with "fetch -r" when downloading the initial ~38MB
  snapshot in order to avoid unnecessary re-downloading.

  Remove the earlier "rm -f ${SNAPSHOTHASH}.tgz" to make this work.
2006-01-30 04:18:12 +00:00
jkoshy
ec75f7b274 MFC r1.282: Note that options are set using sh(1) syntax. 2006-01-30 03:17:33 +00:00
philip
1a0293eda7 MFC:
Add [-J jid_file] option to write out a JidFile, similar to a PidFile,
  containing the jailid, path, hostname, ip and the command used to start
  the jail.

      src/usr.sbin/jail/jail.8: rev 1.71 -> 1.72
      src/usr.sbin/jail/jail.c: rev 1.20 -> 1.21

PR:		misc/89883
Submitted by:	L. Jason Godsey <lannygodsey -at- yahoo.com>
Reviewed by:	phk
2006-01-30 00:38:37 +00:00
philip
d5c81a9bd0 MFC:
Add "yet another" moused(8) hack: suspend handling mouse events when SIGUSR1
  is caught.  Can be assigned to a window manager shortcut to prevent accidents
  with touchpads.

      src/usr.sbin/moused/moused.8: rev 1.57 -> 1.58
      src/usr.sbin/moused/moused.c: rev 1.74 -> 1.75

PR:		bin/89357
Submitted by:	Nick Hibma <nick -at- van-laarhoven.org>
2006-01-30 00:32:40 +00:00
philip
d8fc4b8e8b MFC:
Catch up with 64bit time_t on sparc64.  The rstat packet expects a 32bit
  time_t and times will look incorrect on machines with 64bit time_t.

      src/usr.bin/rup/rup.c: rev 1.18 -> 1.19

PR:		88788
Submitted by:	Keith White <Keith.White -at- site.uottawa.ca>
2006-01-30 00:29:15 +00:00
thompsa
336b0354fa InstaMFC:
Back out of r1.148, it causes two arp replies to be sent with different mac
 addresses.
2006-01-29 23:22:42 +00:00
imp
72c266522a MFC: PCIR_CARDBUSCIS -> PCIR_CIS 2006-01-29 21:14:28 +00:00
imp
5b5fcbbd37 MFC 1.46-1.51: more defines for capabilities and Cardbus CIS things. 2006-01-29 21:03:46 +00:00
damien
3a8098e703 sync with HEAD. 2006-01-29 15:21:46 +00:00
damien
bfd5a95bf5 sync with HEAD. 2006-01-29 15:13:01 +00:00
damien
384ea2a095 sync ural with HEAD.
Brings automatic rate control in BSS mode and other goodies.
2006-01-29 14:16:36 +00:00
damien
f4e3675df0 sync with HEAD:
r1.27:
o Re-enable scatter/gather
o Change MEM_READ_1/MEM_READ_4 into macros (move them to if_iwireg.h)
o Add support for association LED
o Silently discard f/w notifications that are unknown (fixes spurious
  "unknown notification 15" in logs with latest firmware)
o Fix scanning of 5GHz channels

r1.23:
Fix endianness issues.  iwi now works on big endian architectures too.

r1.22
Be more robust when handling Rx interrupts.  If we can't allocate and DMA map
a new mbuf, just discard the received frame and reuse the old mbuf.
This should fix kernel panics on high network traffic.

r1.20:
o Use firmware extended scan command; this one doesn't crash when scanning
  the 5GHz band.
o Enable 802.11a channels scanning for 2915ABG adapters.
o Fix a typo (negociated->negotiated).
2006-01-29 13:54:19 +00:00
yar
b0976301af MFC the addition of an rc.d script for stand-alone ftpd:
etc/defaults/rc.conf		1.271
etc/rc.d/Makefile		1.63
etc/rc.d/ftpd			1.1 (new)
share/man/man5/rc.conf.5	1.281, 1.282

Also MFC the addition of a missing xref to geli.8 in
SEE ALSO on rc.conf.5 as a part of rev. 1.282.
2006-01-29 13:52:34 +00:00
yar
5972439952 MFC recent ftpd fixes related to handling the pidfile and unneeded
open sockets when in stand-alone daemon mode:

ftpd.c    1.207-1.209
ftpd.8    1.70-1.71
2006-01-29 13:21:05 +00:00
maxim
6b09b89696 MFC rev. 1.103: InterBase Database Remote Protocol 3050/tcp/udp. 2006-01-29 11:32:48 +00:00
sam
f3bb385026 MFC: switch beacon miss threshold from a time to the number of beacon frames 2006-01-29 07:33:27 +00:00
sam
2564db3b51 MFC 1.86: bounds check each ie's length when parsing 2006-01-29 07:28:02 +00:00
sam
f27a601503 MFC 1.68: propagate current bss state on sta join 2006-01-29 07:20:23 +00:00
sam
8bcd9b14f4 MFC 1.72: bump the scan generation number before iterating 2006-01-29 07:18:09 +00:00
sam
85dc376f3a MFC: update monitoring support 2006-01-29 07:17:02 +00:00
sam
198715ce2a MFC 1.6: add flag to tag frames w/ a known bad FCS 2006-01-29 07:13:58 +00:00
sam
44a7889d74 MFC 1.27:
enable "aggressive mode" only when operating in ap or station mode; in
  particular this fixes use of wme in adhoc demo mode, it wasn't possible
  to set the txop limit because the aggressive mode logic would override
2006-01-29 07:13:03 +00:00
sam
732ef3704c MFC: update erp information element in the beacon frame to reflect
changes in the bss
2006-01-29 07:11:24 +00:00
sam
0dce9530ec MFC: add LINT build 2006-01-29 06:56:27 +00:00
sam
078bfc3cb8 MFC 1.15: don't assume char is signed 2006-01-29 06:55:03 +00:00
sam
38cecb350f MFC 1.18: bandaid assumption that char is signed 2006-01-29 06:52:35 +00:00
ariff
89b5dd63bd MFC: Enable full duplex operation since it works and to solve panic issue.
PR:	kern/91992
2006-01-29 02:35:19 +00:00
ariff
a7ad96accb MFC: Turn on native 32bit recording (at 48000hz).
It works perfectly on my Compaq Presario M2000Z, but my last attempt
on Acer Ferrari 4000 only produce garbled sound.
2006-01-29 02:33:17 +00:00
ariff
82ac1ac2f7 MFC: Various fixups:
feeder.h:
feeder.c:
        - Implement scoring mechanisme to select best format for conversion.
          This is actually part of newer format chaining procedures which
          will be commited someday. Confusion during chaining process solved
          by this scoring since it will try to reduce list of from/to formats
          to a single, best format.
          Related PR:   kern/91683
channel.c:
        - Simplify feeder building process since we have smarter format
          chaining.
	- (1) Fix DMA alignment, based on bytes per sample.

feeder_fmt.c:
        - Add few more sign conversion feeders for 24 and 32 bit format.

feeder_rate.c:
        - Force buffer / bytes allignment. Unaligned buffer may cause
          panics during recording on pure 32bit sample format if it
          involves feeder_rate as part of feeders chain. Handle strayed
	  bytes (mostly caused by #1) better.
          Tested on: ATI IXP, force 32bit recording.

This DMA alignment issues are extremely hard to reproduce unless the user
happen to have a 32bit capable soundcards (ATI IXP) and knowledgeable enough
to force it to operate under pure 32bit operations on both record and play
directions.
2006-01-29 02:27:28 +00:00
iedowse
a91fa9541a MFC: synchronise the OHCI driver with HEAD:
o Add some identification strings and vendor IDs
 o Set sc_dying to 1 when detaching
2006-01-29 01:26:46 +00:00
flz
107394df65 MFC:
Add Product IDs :
  - Sandisk Cruzer Micro 128MB [5]
  - DANE-ELEC zMate 512MB USB flash drive [7]
  - Attache 256MB USB 2.0 Flash Drive [8]
  - Sandisk Cruzer Micro 256MB [9]

  Add scsi_da.c quirks :
  - Samsung USB key 128Mb [1]
  - Kingston DataTraveler 2.0 [2]
  - Creative MuVo Slim [3]
  - United MP 5512 Portable MP3 Player [4]
  - Sandisk Cruzer Micro 128MB [5], [9]
  - PNY USB Flash keys [6], [7], [8]

  Add umass.c quirks :
  - Sandisk Cruzer Micro 128MB [5]
  - DANE-ELEC zMate 512MB USB flash drive [7]
  - Attache 256MB USB 2.0 Flash Drive [8]
  - Sandisk Cruzer Micro 256MB [9]

      src/sys/dev/usb/usbdevs: rev 1.249 -> 1.250
      src/sys/cam/scsi/scsi_da.c: rev 1.184 -> 1.185
      src/sys/dev/usb/umass.c: rev 1.128 -> 1.130

PR:		usb/90081 [1],
		usb/89196 [2],
		kern/86131 [3],
		usb/80487 [4],
		usb/75970 [5],
		usb/75578 [6],
		usb/72344 [7],
		usb/65436 [8],
		usb/70835 [9]
Submitted by:	Henri-Pierre CHARLES <hpc@prism.uvsq.fr> [1],
		Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [2],
		Erich Rickheit KSC <rickheit-fbp@numachi.com> [3],
		tnu@chania.di.uoa.gr [4],
		Bram Abbekerk <bram@abbekerk.demon.nl> [5],
		Thomas Pornin <pornin@bolet.org> [6],
		parv <parv@pair.com> [7],
		Peter D. Quilty <pdquilty@adelphia.net> [8],
		Raymundo M. Vega <rvega@ms-smtp-03-eri0.socal.rr.com> [9]
2006-01-29 00:46:57 +00:00
marcel
4ef2eebeda MFC ia64 psABI conformance changes:
s/R_IA64_/R_IA_64_/
	s/DT_IA64_/DT_IA_64_/

	libexec/rtld-elf/ia64/reloc.c:1.17,1.18
	libexec/rtld-elf/ia64/rtld_start.S:1.4
	sys/boot/ia64/efi/start.S:1.9,1.10
	sys/ia64/ia64/elf_machdep.c:1.23
	sys/ia64/ia64/genassym.c:1.42
	sys/ia64/ia64/locore.S:1.39
	sys/ia64/include/elf.h:1.12,1.13,1.14
	usr.bin/elfdump/elfdump.c:1.14
2006-01-28 18:40:55 +00:00
yar
718263f07d Temporarily back out the last change, rev. 1.7.2.2.
The problem with it was that it swapped the relative order of IP
assignment and parent interface attachment.  The present if_vlan
code gets certain flags from the parent, including those meaningful
to the upper layers.  E.g., IP assignment to an interface with
IFF_BROADCAST goes somewhat differently from that to a non-broadcast
interface.  Consequently, assigning IP before attaching the parent
results in a bogus or missing broadcast address on the vlan interface.
This bug is still here, but at least it won't be triggered by doing
both vlanX configuration steps, IP and vlan+vlandev, in a single
ifconfig invocation, which is usual to setting up vlans via rc.conf.

Work at the global issue is under way.
2006-01-28 16:38:28 +00:00
nyan
3857dc83f2 MFi386: revision 1.10.10.1 2006-01-28 07:55:19 +00:00
kris
5eb299b58a MFC: Correct spelling of T_TAG_OFERFLOW
Approved by:	re
2006-01-28 04:02:54 +00:00
truckman
059cbb8ba3 MFC kern_sysctl.c 1.168
Touch all the pages wired by sysctl_wire_old_buffer() to avoid PTE
  modified bit emulation traps on Alpha while holding locks in the
  sysctl handler.
2006-01-28 00:31:56 +00:00
trhodes
92c549c2d3 Fix a fat fingered revision number in my cvs diff.
Not my month.
2006-01-27 23:05:38 +00:00