Andrew Thompson
8b446f57a8
Install the old usb headers under /usr/include/legacy/dev/usb as they are
...
needed by the hal port. This will be removed before 8.0.
Add an exclusion to kdump as some structs will be redefined.
Requested by: marcus
2009-02-24 00:53:10 +00:00
Andrew Thompson
211211de83
Exclude ndis from the LINT build as it currently breaks the build, patches to
...
move to the new usb stack are in progress.
2009-02-24 00:39:48 +00:00
Sam Leffler
40ce424605
Fill in gpio support for 5416 and later parts:
...
o add output mux support
o gpio pin count is chip-dependent
o 9280 and 9285 do input handling different
o hookup gpio interrupts
o no need to save/restore soft led state around reset
2009-02-24 00:33:08 +00:00
Sam Leffler
a0a2aa7916
misc fixups, mostly for code not compiled yet
2009-02-24 00:29:32 +00:00
Sam Leffler
869ff02ebe
5416 and later parts mux the gpio outputs; extend the api to include
...
a signal type that's used to select the appropriate mux
2009-02-24 00:12:16 +00:00
Sam Leffler
f396f37ed1
move eeprom attach above first reset as the reset code checks the
...
eeprom contents for 9280 and later parts
2009-02-24 00:03:14 +00:00
Sam Leffler
d61d829fd6
attach methods don't need to be public, make 'em static
2009-02-23 23:58:37 +00:00
Sam Leffler
3f1c613044
5416 and later parts get the radio rev differently; add ar5416GetRadioRev
...
to do it the right way
2009-02-23 23:54:08 +00:00
Sam Leffler
0f5578c15d
remove private copies of gpio methods that were needed when the hal
...
was an independent entity
2009-02-23 23:48:17 +00:00
Andrew Thompson
96ca458f65
Make sure at least two tx slots are free before sending the mbuf since an
...
additional frame may be sent for 80211 protection.
2009-02-23 23:46:56 +00:00
Sam Leffler
498657cff2
print mac+rf part names; drop the printing 2ghz rf stuff (might come back)
2009-02-23 23:41:12 +00:00
Robert Watson
9309e63c1f
Put debug.vm_lowmem sysctl under DIAGNOSTIC.
...
Submitted by: sam
MFC after: 3 days
2009-02-23 23:30:17 +00:00
Andrew Thompson
2619bc56bf
Use the correct config names for the netgraph bluetooth modules.
2009-02-23 23:12:01 +00:00
Robert Watson
8181cc27e8
Include audit.h so that the system call path protected by NFS_LEGACYRPC
...
can audit its arguments.
Submitted by: Jaakko Heinonen <jh at saunalahti.fi>
MFC after: 1 week
X-MFC-note: MFC with r188311
2009-02-23 23:04:15 +00:00
Robert Watson
86f087370b
Add a debugging sysctl, debug.vm_lowmem, that when assigned a value of
...
1 will trigger a pass through the VM's low-memory handlers, such as
protocol and UMA drain routines. This makes it easier to exercise
these otherwise rarely-invoked code paths.
MFC after: 3 days
2009-02-23 23:00:12 +00:00
Robert Watson
a714e55f73
Assert the radix head lock in in6_rtqkill().
...
MFC after: 3 days
2009-02-23 22:58:59 +00:00
Robert Watson
63d0295c2f
In in_rtqkill(), assert the radix head lock, and pass RTF_RNH_LOCKED
...
to in_rtrequest(); the radix head lock is already acquired before
rnh_walktree is called in in_rtqtimo_one(). This avoids a recursive
acquisition that is no longer permitted in 8.x due to use of an rwlock
for the radix head lock.
Reported by: dikshie <dikshie at gmail.com>
MFC after: 3 days
2009-02-23 22:57:55 +00:00
Andrew Thompson
b92755d1d6
- comment out slhci in NOTES for the moment
...
- rearrange the ucom entry so its recognised by config(8)
2009-02-23 22:56:03 +00:00
Andrew Thompson
31ba90e1b2
Remove ugen from NOTES, its no longer an optional device.
2009-02-23 22:49:43 +00:00
Alexander Motin
18d7e39ee7
Bring SATA revision reporting into conformance with SATA-IO guidelines.
2009-02-23 22:29:38 +00:00
Alexander Motin
9738772d4e
Fix non-AHCI channels detection on combined JMicron controllers,
...
broken by r188694.
2009-02-23 22:13:05 +00:00
Andrew Thompson
3a3f90c6c3
Move the uaudio and ata-usb drivers into their correct locations.
2009-02-23 21:19:18 +00:00
Edward Tomasz Napierala
4f560d7595
Right now, when trying to unmount a device that's already gone,
...
msdosfs_unmount() and ffs_unmount() exit early after getting ENXIO.
However, dounmount() treats ENXIO as a success and proceeds with
unmounting. In effect, the filesystem gets unmounted without closing
GEOM provider etc.
Reviewed by: kib
Approved by: rwatson (mentor)
Tested by: dho
Sponsored by: FreeBSD Foundation
2009-02-23 21:09:28 +00:00
Andrew Thompson
e02917222d
Move two missed usb drivers out to the graveyard location under sys/legacy/dev.
2009-02-23 21:07:20 +00:00
Edward Tomasz Napierala
3c140b2df4
Refactor, moving error checking outside of the
...
'if (mp->mnt_flag & MNT_SOFTDEP)' conditional. No functional
changes.
Reviewed by: kib
Approved by: rwatson (mentor)
Tested by: pho
Sponsored by: FreeBSD Foundation
2009-02-23 20:56:27 +00:00
Nathan Whitehorn
539fe40650
Fix comment: we write the trap vector to SPRG3, not SPRG0.
2009-02-23 19:31:48 +00:00
Andrew Thompson
200dcf9a93
Fix spelling (again).
...
Spotted by: Fabian Keil
2009-02-23 19:30:00 +00:00
Andrew Thompson
9c1e15b587
Fix spelling.
...
Spotted by: Fabian Keil
2009-02-23 19:28:29 +00:00
Andrew Thompson
0b3088ad05
Add ObsoleteFiles entries for the USB changeover.
2009-02-23 19:13:12 +00:00
Andrew Thompson
d7e3163d8c
Reintroduce r188878, provide compat typedefs for usb1.
2009-02-23 19:06:47 +00:00
Andrew Thompson
71e9286ce1
Add an UPDATING entry and bump the OS version to 800064.
2009-02-23 18:56:49 +00:00
Andrew Thompson
bf41796c4e
Build fixups for the new USB stack.
2009-02-23 18:36:54 +00:00
Andrew Thompson
c89d41e5ff
Change over the usb kernel options to the new stack (retaining existing
...
naming). The old usb stack can be compiled in my prefixing the name with 'o'.
2009-02-23 18:34:56 +00:00
Andrew Thompson
7d0d268b8a
Hook up new USB modules.
2009-02-23 18:32:59 +00:00
Andrew Thompson
02ac645488
Move the new USB stack into its new home.
2009-02-23 18:31:00 +00:00
Rafal Jaworowski
ab8b490a63
Initial gdbserver support for PowerPC.
...
Obtained from: Juniper Networks, Semihalf
2009-02-23 18:22:49 +00:00
Ed Maste
4824be888b
SVN rev 188743 modified aac_rx_get_fwstatus to use the AAC_RX_OMR0
...
register instead of AAC_RX_FWSTATUS, as that is the way it's done in
Adaptec's vendor driver and in the Linux drivers. (The same applies
to aac_rkt_get_fwstatus as well.)
However, a concern has been raised about the compatibility of this
change and old hardware / firmware versions. In the absense of
specific information, revert to the original behaviour if the firmware
does not support the "New comm." interface. Users of old cards or
firmware haven't reported the problems that are potentially solved by
switching to OMR0.
2009-02-23 18:22:06 +00:00
Andrew Thompson
3975e3a1ea
Move usb to a graveyard location under sys/legacy/dev, it is intended that the
...
new USB2 stack will fully replace this for 8.0.
Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.
2009-02-23 18:16:17 +00:00
John Baldwin
0b7dc0a7c6
Some whitespace and style fixes.
...
Submitted by: bde (partly)
2009-02-23 15:39:24 +00:00
John Baldwin
3a915d149c
FreeBSD/i386 doesn't include a software FPU emulator anymore, so adjust
...
an iBCS2 syscall to indicate that there is no FPU support at all rather
than emulated support if an FPU is not present.
2009-02-23 15:38:35 +00:00
Alexander Motin
3b80d8accb
Do not call devices probe/attach if there is nothing new was found.
2009-02-23 08:58:29 +00:00
Alexander Motin
43b4ee0925
Fix spelling.
...
Submitted by: gavin
2009-02-23 08:19:30 +00:00
Pawel Jakub Dawidek
af30ab766e
Add explicit casting in few places.
...
It is only really necessary for open(2)'s third argument, which is optional and
obtained through stdarg(3). open(2)'s third argument is 32bit and we pass 64
bits. On little endian it works, because we take lower 32 bits, but on big
endian platforms we take upper 32 bits, so we end up with 0.
Reported by: Milan Čermák <Milan.Cermak@Sun.COM>
2009-02-23 07:33:29 +00:00
Alan Cox
6d65f2fa57
Optimize free_pv_entry(); specifically, avoid repeated TAILQ_REMOVE()s.
...
MFC after: 1 week
2009-02-23 06:00:24 +00:00
Alan Cox
2984411d7b
Use uiomove_fromphys() instead of the combination of sf_buf and uiomove().
...
This is not only shorter; it also eliminates unnecessary thread pinning on
architectures that implement a direct map.
MFC after: 3 weeks
2009-02-22 19:50:09 +00:00
Sam Leffler
cc3e9fe79c
change tdma slave behaviour: if the channel is locked don't do bmiss handling
...
(so no scanning/roaming)
Reviewed by: Chris Anderson
2009-02-22 18:48:54 +00:00
Sam Leffler
110a70e3b2
display min/max dwell times in msecs in debug msgs
2009-02-22 18:46:36 +00:00
Nathan Whitehorn
5b4975b180
Explicitly disable generation of Altivec instructions in the kernel on PowerPC,
...
and add support to allow users to set their CPUTYPE in make.conf.
2009-02-22 18:45:30 +00:00
Alexander Motin
91b791a38f
Add SATA and USB modes for completeness. USB modes principally can't be set,
...
SATA mode setting is not implementes at this time.
Submitted by: Christoph Mallon
2009-02-22 18:22:21 +00:00
Alan Cox
2ade0391c2
Simplify the unwiring and activation of pages.
...
MFC after: 1 week
2009-02-22 18:15:17 +00:00