jhb
95c5027710
Bah, remove last vestiges of some statfs conversion fixes that aren't quite
...
ready for CVS yet that snuck into 1.68.
Pointy hat to: jhb
2007-12-10 19:42:23 +00:00
obrien
0d684d927b
Clean up VCS Ids.
2007-12-10 16:03:40 +00:00
sam
08954540f8
Wake On Lan (WOL) infrastructure
...
Submitted by: Stefan Sperling <stsp@stsp.name>
Reviewed by: brooks
2007-12-10 02:31:00 +00:00
marcel
2f8a94b8fe
Decode as many or as few partition entries as the label claims there
...
are. We have already checked it against the caller provided maxpart.
2007-12-09 22:44:22 +00:00
marcel
3d56eaad5f
Fix a bug in the add verb, where we failed to keep the list
...
of partitions in index-order. This is assumed by the APM, MBR
and BSD partitioning schemes.
2007-12-09 22:26:42 +00:00
alc
fed3c18cd6
Eliminate compilation warnings due to the use of non-static inlines
...
through the introduction and use of the __gnu89_inline attribute.
Submitted by: bde (i386)
MFC after: 3 days
2007-12-09 21:00:36 +00:00
thompsa
228f20a1fe
Fix spelling.
...
Obtained from: OpenBSD
2007-12-09 20:47:12 +00:00
thompsa
8b2f43475d
sc->ndis_tq variable is only initialized when a driver module is for wireless
...
NICs.
PR: kern/118439
Submitted by: Weongyo Jeong
2007-12-09 20:14:01 +00:00
scottl
9a48b755d2
Fix an incorrect FreeBSD version test.
2007-12-09 19:24:27 +00:00
scottl
7f4a636cb7
Modify locking so that a single version of the driver src can be used on 6.x
...
and beyond.
2007-12-09 19:22:25 +00:00
rwatson
cce7cfdaf5
Check for P_WEXIT before PHOLD() on a process in kstack and vm query
...
sysctls, as PHOLD() asserts !P_WEXIT.
Reported by: Michael Plass <mfp49_freebsd at plass-family dot net>
2007-12-09 17:22:27 +00:00
dwmalone
f0253dbb16
If we are walking the IPv6 header chain and we hit an IPPROTO_NONE
...
header, then don't try to pullup anything, because there is no next
header if we hit IPPROTO_NONE. Set ulp to a non-NULL value so the
search for an upper layer header terinates.
This is based on Pekka's diagnosis, but I chose a simpler fix.
PR: 115261
Submitted by: Pekka Savola <pekkas@netcore.fi>
Reviewed by: mlaier
MFC after: 2 weeks
2007-12-09 15:35:09 +00:00
marcel
534092d0a2
Internal partitions can not be deleted or modified.
2007-12-08 23:08:42 +00:00
marcel
fd024cb2be
Skip internal partitions in the check for (user) partitions for
...
the destroy command. Previously a freshly created BSD disklabel
could not be destroyed because of the internal partition.
2007-12-08 22:06:17 +00:00
alc
785a20bb5f
Use 1GB virtual pages to implement the direct map on architectures that
...
support this feature.
Wrap a nearby line that is too long.
MFC after: 6 weeks
2007-12-08 21:48:27 +00:00
alc
23d5cf5443
Recognize architectural support for 1GB virtual pages.
...
MFC after: 6 weeks
2007-12-08 21:13:01 +00:00
scottl
f9e173d72a
Support new ARC120x family of controllers. Many thanks for Areca's continued
...
support of FreeBSD.
Submitted by: Erich Chen @ Areca
2007-12-08 20:48:26 +00:00
marcel
7827a1496a
Add support for FS_ZFS.
2007-12-08 07:01:10 +00:00
marcel
489bd36fff
Add a file system type for ZFS (FS_ZFS).
2007-12-08 06:47:48 +00:00
marcel
80494145a2
Sync with NetBSD rev 1.101.
...
This also fixes fstypenames being short an entry.
2007-12-08 06:44:27 +00:00
scottl
4570db7ea2
Grrr, remove an unused variable missed in the last commit.
2007-12-08 01:41:31 +00:00
yongari
c60450024e
Add another RTL8168 revision 3 which is found on RTL8111-GR Gigabit
...
Ethernet Controller. Multicast filtering wasn't tested and needs more
expore. While I'm here change complex if statements with switch
statement which would improve readability.
Reported by: Abdullah Ibn Hamad Al-Marri < wearabnet AT yahoo DOT ca >
Tested by: Abdullah Ibn Hamad Al-Marri < wearabnet AT yahoo DOT ca >
2007-12-08 00:14:09 +00:00
scottl
38b1bc6f6b
Don't expect a return value from statfs_scale_blocks().
2007-12-07 22:32:09 +00:00
emaste
2b0d22f644
Merge from Adaptec a 64 bit fix and a workaround for luns != 0 returning
...
CAM_SEL_TIMEOUT on SAS controllers, which prevented passthrough devices
from being created.
2007-12-07 20:37:12 +00:00
emaste
54fed38dbc
Add family support to allow the driver to attach to new devices that
...
share the same interface.
Submitted by: Achim Leubner at Adaptec
2007-12-07 18:05:41 +00:00
jkoshy
2cccff443f
Add stub functions to unbreak LINT.
2007-12-07 17:21:53 +00:00
jkoshy
39d4b4accf
Add stubs to unbreak LINT.
2007-12-07 13:45:47 +00:00
sos
9bc486376b
Fix speed report on Intel SATA chips in compat mode.
...
Fix broken detect of JMicron 368.
2007-12-07 13:14:31 +00:00
cognet
b76f135a28
Fix style in previous commit.
...
Pointed out by: njl
2007-12-07 10:42:11 +00:00
thompsa
e4ece2b010
Preallocate some space to return the scan results, some drivers do not properly
...
pass back the desired buffer length. This fixes scanning with the Marvell
88W8335 and BCM4328 wireless cards.
PR: kern/118370
Submitted by: Weongyo Jeong
Tested by: Ed Schouten
2007-12-07 10:37:25 +00:00
jkoshy
fcb44f0caf
Increment FreeBSD_version to mark the addition of callchain support
...
to hwpmc.
2007-12-07 08:36:38 +00:00
jkoshy
72c27d71d8
Kernel and hwpmc(4) support for callchain capture.
...
Sponsored by: FreeBSD Foundation and Google Inc.
2007-12-07 08:20:17 +00:00
kmacy
12b5f9c8c9
Add padding for anticipated functionality
...
- vimage
- TOE
- multiq
- host rtentry caching
Rename spare used by 80211 to if_llsoftc
Reviewed by: rwatson, gnn
MFC after: 1 day
2007-12-07 01:46:13 +00:00
rrs
fad90600c1
- More fixes for lock misses on the transfer of data to
...
the sent_queue. Sometimes I wonder why any code
ever works :-)
- Fix the pad of the last mbuf routine, It was working improperly
on non-4 byte aligned chunks which could cause memory overruns.
MFC after: 1 week
2007-12-07 01:32:14 +00:00
emaste
e85902857b
Allow simultaneous opens of the device for issuing commands to the
...
controller. This is merged from Adaptec driver build 11669.
2007-12-07 00:22:23 +00:00
delphij
e93a39275f
Turn MPASS(0) into panic with more obvious reason why the assertion
...
is failed.
2007-12-07 00:00:21 +00:00
jhb
f05fcb702a
Regen.
2007-12-06 23:37:26 +00:00
jhb
d675d97b05
Add freebsd32 compat wrappers for msgctl() and __semctl() using
...
kern_msgctl() and kern_semctl().
MFC after: 1 week
2007-12-06 23:36:57 +00:00
jhb
f4e63ed7ac
Add freebsd32 compat wrappers for msgctl() and _semctl() using
...
kern_msgctl() and kern_semctl().
MFC after: 1 week
2007-12-06 23:35:29 +00:00
jhb
eb9403bc51
Move 32-bit SYSV IPC structure definitions into freebsd32_ipc.h.
...
MFC after: 1 week
2007-12-06 23:23:16 +00:00
delphij
17d10d92fe
size_max should be unsigned, as such, use size_t here.
2007-12-06 23:19:05 +00:00
cognet
f919b8c32d
Erm, add a missing else, we do not want to increase the mapping counters for
...
both kernel and userland when we create a pv for pmap_kernel.
Reported by: Mark Tinguely <tinguely AT casselton DOT net>
MFC After: 3 days
2007-12-06 23:17:24 +00:00
jhb
0373a29045
Move several data structure definitions out of freebsd32_misc.c and into
...
freebsd32.h instead.
MFC after: 1 week
2007-12-06 23:11:27 +00:00
julian
e38fed7fb7
Remove more dup'd code
...
MFC After: 1 week
2007-12-06 22:48:24 +00:00
julian
87a49d3e6e
remove duped code
...
Reviewed By: gnn
MRC after: 1 week
2007-12-06 22:44:24 +00:00
julian
bad03ab89c
No need to assert that a == b when we just set a = b.
2007-12-06 22:40:17 +00:00
kmacy
dce7a4b1a7
Change uint8_t to equivalent base language type and add line break where 80
...
characters is exceeded in bit macros
Requested by: Bruce Evans
2007-12-06 19:11:14 +00:00
emaste
533e87bb7c
Add more PCI ID's from Adaptec's driver, including two requested
...
by Daniel Kamm.
Adaptec RAID 51245
Adaptec RAID 51645
Adaptec RAID 52445
Adaptec RAID 5405
Sun STK RAID REM
Sun STK RAID EM
SG-XPCIESAS-R-IN
SG-XPCIESAS-R-EX
2007-12-06 18:25:29 +00:00
des
90c2422b90
Simpler version of the previous commit.
2007-12-06 09:31:13 +00:00
jhb
82ec005a0a
Only attach to a GPT partition if it has the GPT_ENT_TYPE_FREEBSD type.
...
XXX: This only works currently with GEOM_GPT which only exists in 6.x.
XXX: I didn't add 'mbroffset' support for a GPT partition holding a BSD
label as I'm not sure if they use relative or absolute offsets.
MFC after: 3 days
2007-12-06 09:20:27 +00:00