Peter Grehan
8e9238c604
Fix bugs with operand ordering and unnecessary sync/eieio ops. Mostly
...
obtained from Alpha atomic.h
Approved by: Benno
2003-01-18 11:28:36 +00:00
Peter Grehan
add0e67094
Allow the MD frame definition to be seen in. Required for truss/ptrace.
...
Approved by: Benno
2003-01-18 11:25:21 +00:00
Peter Grehan
5cbdd8139a
RAIDframe requires LONG_BIT
...
Approved by: Benno
2003-01-18 11:23:42 +00:00
Peter Grehan
0a9b03cb65
Prepended underscores to macro local vars, avoiding gcc "declaration
...
shadows global" warning
Approved by: benno
2003-01-18 11:20:06 +00:00
Peter Grehan
0212856f3c
Change definition of int64 to avoid gcc3.2.1 complaints. Taken from i386
...
Approved by: benno
2003-01-18 11:18:42 +00:00
Poul-Henning Kamp
b51ea35631
Use the M_CCD malloc bucket instead of M_DEVBUF.
...
Don't keep a private freelist of a low number of trivially small structures.
2003-01-18 11:04:41 +00:00
Poul-Henning Kamp
360d71d1b5
Inline trivial function ccdintr() into its one caller ccdiodone().
...
Only call ccdfind() once in ccdiodone() and cache the result.
2003-01-18 10:44:17 +00:00
Poul-Henning Kamp
3b1746df8b
Sanitize the copyright section a bit: We do not need two copies of the
...
four-clause BSD license in the file, one will do.
2003-01-18 10:08:27 +00:00
Yoshihiro Takahashi
bb0e369994
Remove unneeded entries.
2003-01-18 08:29:10 +00:00
Yoshihiro Takahashi
1f23083ab9
Fixed comment.
2003-01-18 08:26:42 +00:00
Matthew N. Dodd
95ca467a68
- Removed unecesary code.
...
- Correct smapi32_new() asm (still doesn't work.)
- Attach to mainboard not isa.
2003-01-18 04:36:12 +00:00
Marcel Moolenaar
da5e9a5bd6
MFp4: Add support for memory mapped UARTs, but don't add any devices
...
yet that depend on it because sio(4) needs support for it before it
can be used. There's no reason why zs(4) couldn't attach to puc(4)
in the (near?) future (in principle), so don't make memory mapped I/O
support in sio(4) a precondition for this change.
2003-01-18 02:54:16 +00:00
Takeshi Shibagaki
5770575cfc
Add BUFFALO LPC-CF-CLT(10Base-T Compact Flash Ether Card).
2003-01-18 02:14:23 +00:00
Takeshi Shibagaki
d7c38c4ccc
Regen.
2003-01-18 02:13:10 +00:00
Takeshi Shibagaki
708d4a51e6
Add Accton EN2216.
2003-01-18 01:14:48 +00:00
Takeshi Shibagaki
4779186a05
Regen.
2003-01-18 01:14:01 +00:00
Jeffrey Hsu
f5c5746047
Fix long-standing bug predating FreeBSD where calling connect() twice
...
on a raw ip socket will crash the system with a null-dereference.
2003-01-18 01:10:55 +00:00
Tim J. Robbins
d1841903a0
Fake up a struct componentname to pass to VOP_WHITEOUT instead of passing
...
NULL. union_whiteout() expects the componentname argument to be non-NULL.
Fixes a NULL dereference panic when an existing union mount becomes the
upper layer of a new union mount.
2003-01-18 01:01:20 +00:00
Poul-Henning Kamp
6fb6c30600
Remove subr_diskslice.c and subr_diskmbr.c which I can see no traces off
...
a need for in the x86_64 files. Not compile tested.
2003-01-17 23:02:13 +00:00
Poul-Henning Kamp
03cb40281e
Remove subr_diskslice.c and subr_diskmbr.c which I can find no trace of
...
why should be needed in the powerpc files. Not compile tested.
2003-01-17 23:01:09 +00:00
Matthew N. Dodd
146cc87269
- Style fixes.
...
- llabs() -> qabs(); long long isn't valid for the kernel.
Submitted by: bde
2003-01-17 22:58:32 +00:00
Poul-Henning Kamp
f527e9857e
ia64 didn't need subr_diskslice.c and subr_diskmbr.c either.
2003-01-17 22:09:12 +00:00
Poul-Henning Kamp
123bf099ea
We do not need subr_diskslice.c and subr_diskmbr.c any more on alpha.
2003-01-17 20:02:46 +00:00
Poul-Henning Kamp
ffffe9203f
Move alpha_fix_srm_checksum() from subr_diskmbr.c to subr_disklabel.c
2003-01-17 19:37:55 +00:00
Poul-Henning Kamp
40f683a443
Remove the unused DSO_* options.
2003-01-17 19:36:14 +00:00
Thomas Moestl
6f7cab9301
Disallow listen() on sockets which are in the SS_ISCONNECTED or
...
SS_ISCONNECTING state, returning EINVAL (which is what POSIX mandates
in this case).
listen() on connected or connecting sockets would cause them to enter
a bad state; in the TCP case, this could cause sockets to go
catatonic or panics, depending on how the socket was connected.
Reviewed by: -net
MFC after: 2 weeks
2003-01-17 19:20:00 +00:00
Poul-Henning Kamp
5269d202cc
Sparc64 does not need subr_diskslice.c and subr_mbr.c now.
2003-01-17 19:15:26 +00:00
Poul-Henning Kamp
e948321c7a
Move dkmodpart() from subr_diskslice.c to subr_disklabel.c.
2003-01-17 19:05:58 +00:00
Takeshi Shibagaki
3f9970c831
Add Allied Telesis WR211PCM.
2003-01-17 18:41:32 +00:00
Takeshi Shibagaki
57fc3d9703
Regen.
2003-01-17 18:40:31 +00:00
Poul-Henning Kamp
2a2c796213
Move subr_disklabel.c and subr_diskslice.c from being MI to MD files,
...
so that they can be left out where they are unneeded.
2003-01-17 18:32:39 +00:00
Hidetoshi Shimokawa
ae8c82bbe9
Replace M_DONTWAIT with M_NOWAIT for malloc().
...
Pointed out by: nate@root.org
2003-01-17 15:15:21 +00:00
Hidetoshi Shimokawa
0ef6095d41
Improve some debug massages.
2003-01-17 15:03:57 +00:00
Hidetoshi Shimokawa
6340b71e5f
Fix bus manager election process.
...
- Lock response 0x3f means that the host becomes the bus manager.
- Add missing htonl().
2003-01-17 15:03:25 +00:00
Poul-Henning Kamp
ddbf51af0c
Find places to store the previously implicityly passed unit number in
...
the three configuration ioctls which need a unit number.
Add a "ccd.ctl" device for config operations.
Implement ioctls on ccd.ctl which rely on the explicityly passed
unit numbers.
Update ccdconfig to use the new ccd.ctl interface.
Add code to the kernel to detect old ccdconfig binaries, and whine
about it.
Add code to ccdconfig to detect old kernels, and whine about it.
These two compatibility measures will be retained only for a limited
period since they are in the way of GEOM'ification of ccd.
2003-01-17 14:53:53 +00:00
Matthew N. Dodd
7534ac7ab7
A driver for the System Management Application Program
...
Interface (SMAPI) BIOS, which is present on some IBM
Thinkpad models (560, 600, 770 to name a few.)
The SMAPI BIOS provides access to System Information,
System Configuration, and Power Management.
2003-01-17 08:10:18 +00:00
Matthew N. Dodd
8ff601b27c
- Add a major for SMAPI.
...
- Claim a few majors I have responsibility for.
2003-01-17 08:01:35 +00:00
Jeffrey Hsu
c996428c32
SMP locking for ARP.
2003-01-17 07:59:35 +00:00
Scott Long
f50568a863
Bump __FreeBSD_version to 500100 to allow us to differentiate HEAD from
...
RELENG_5_0 and allow RELENG_5_) to grow.
2003-01-17 06:18:25 +00:00
Hidetoshi Shimokawa
7643dc189d
Detect underrun of IT queue for debugging.
...
Add some comments.
2003-01-17 03:52:48 +00:00
Joerg Wunsch
652dfa8341
Make vinum disk-related devices readable by group "operator" to match
...
the configuration of any other disk-like devices.
(This is the DEVFS-only part, so no need to MFC.)
PR: bin/28294, bin/32588
2003-01-16 23:47:04 +00:00
Warner Losh
e2fcd48525
Restore a comment that was lost in the shuffle.
2003-01-16 23:38:08 +00:00
Greg Lehey
0fd9f133ba
Correct typo.
...
Submitted by: Alan Day <alan@alanday.com>
MFC after: 2 weeks
2003-01-16 23:37:26 +00:00
Poul-Henning Kamp
ce9fac0072
Move a local variable to avoid the compiler warning about it being unused.
2003-01-16 20:06:45 +00:00
John Hay
b1e7e2019e
hardpps() wants the raw hardware counter value converted to nanoseconds.
2003-01-16 19:22:13 +00:00
Yoshihiro Takahashi
e2a5388194
MFi386: revision 1.372
2003-01-16 13:38:58 +00:00
Hidetoshi Shimokawa
e2ad5d6e8c
Improve memory allocation.
...
- Don't use contigmalloc() and allocate page by page to avoid
allocation failure.
- allocate buffer by PAGE_SIZE.
2003-01-16 13:09:33 +00:00
Matthew N. Dodd
060daf4376
The abs() function isn't defined locally; include a header file that
...
defines it.
2003-01-16 08:53:03 +00:00
Alan Cox
6eb07b4ac2
Fix two long-standing, but likely harmless, errors in the use of
...
vm_pageout_deficit:
1. Update vm_pageout_deficit before VM_WAIT. There is no sense in
delaying the update; the sooner the pageout daemon receives this
information the better. Reviewed by: tegge
2. Update vm_pageout_deficit according to the number of pages still
needed to complete the allocation, not the original size of the
allocation. Submitted by: tegge
(These errors have existed since the introduction of vm_pageout_deficit
in revision 1.144.)
2003-01-16 08:14:56 +00:00
Hidetoshi Shimokawa
97ae6c1f15
Use cycleMatch for precise IT DMA start timing.
2003-01-16 07:01:54 +00:00