obrien
346b955038
Match the declaration in net/netisr.h.
...
Submitted by: gcc 3.0.1
2001-09-03 03:24:31 +00:00
mjacob
c6e9e44165
Because we now store SCCLUN capabilities in firmware attributes, get
...
rid of the silly test of isp_maxluns > 16 and use the attibutes directly.
MFC after: 4 weeks
2001-09-03 03:12:10 +00:00
mjacob
6fb9ceec69
Clarify issues about whether we have SCCLUN (65535 luns) or non-SCCLUN (16
...
luns) firmware for the Fibre Channel cards.
We used to assume that if we didn't download firmware, we couldn't know
what the firmware capability with respect to SCCLUNs is- and it's important
because the lun field changes in the request queue entry based upon which
firmware it is.
At any rate, we *do* get back firmware attributes in mailbox register 6
when we do ABOUT FIRMWARE for all 2200/2300 cards- and for 2100 cards
with at least 1.17.0 firmware. So- we now assume non-SCCLUN behaviour
for 2100 cards with firmware < 1.17.0- and we check the firmware attributes
for other cards (loaded firmware or not).
This also allows us to get rid of the crappy test of isp_maxluns > 16-
we simply can check firmware attributes for SCCLUN behaviour.
This required an 'oops' fix to the outgoing mailbox count field for
ABOUT FIRMWARE for FC cards.
Also- while here, hardwire firmware revisions for loaded code for SBus
cards. Apparently the 1.35 or 1.37 f/w we've been loading into isp1000
just doesn't report firmware revisions out to mailbox regs 1, 2 and 3
like everyone else. Grumble. Not that this fix hardly matters for FreeBSD.
MFC after: 4 weeks
2001-09-03 03:09:48 +00:00
mjacob
bee4897b1a
Add some more firmware revision macros. Add firmware attributes field
...
to fcparam structure.
MFC after: 4 weeks
2001-09-03 03:03:32 +00:00
orion
f1a12fefd6
Return updated blocksize from setblocksize function.
2001-09-03 02:14:55 +00:00
orion
693f6a6f4e
Fix return value of cs4281chan_setblocksize.
2001-09-03 01:05:04 +00:00
orion
9f07ad162e
Fix return value of svchan_setblocksize.
...
Expand probing range.
2001-09-03 01:03:50 +00:00
orion
ebb84d55ed
Fix return value of setblocksize functions. Recording is interspersed
...
with silent intervals otherwise.
2001-09-03 00:45:00 +00:00
obrien
3c7a869929
+ Blah, there was nothing wrong in rev 1.1 talking about the i386/NOTES.
...
I should have diff'ed the header with the Alpha GENERIC.
+ fix style nit
+ turn on NO_MODULES for now.
2001-09-02 23:48:37 +00:00
obrien
057bc9ceba
Match the style of very other platform we have.
2001-09-02 23:37:45 +00:00
scottl
dce76a6ecd
Work around a bug where the driver's copy of the disklabel gets corrupted
...
and causes diskerr() to panic.
2001-09-02 23:16:40 +00:00
scottl
af95162b3a
Restrict the range of linux ioctls we will accept.
2001-09-02 23:15:26 +00:00
n_hibma
7de8ea47fb
Add quirk entry for FujiFilm camera.
...
Submitted by: Guido van Rooij <guido@gvr.org>
2001-09-02 20:44:49 +00:00
julian
038fbdee78
add another prototype and a couple of stopgaps for the in_protosw variant.
2001-09-02 20:36:19 +00:00
shiba
25567a30d1
Always turned on 8bit access card support for the fe driver
...
both i386/pc98, so options FE_8BIT_SUPPORT was deleted.
Reviewed by: nyan
2001-09-02 13:05:00 +00:00
peter
9afaf5c238
The !RESTARTABLE_PANICS code has some loose ends.
2001-09-02 12:24:38 +00:00
peter
f685acc268
For ia64, set the default elf brand to be FreeBSD. This is temporarily
...
necessary only for as long as we're using a linux toolchain.
2001-09-02 12:23:08 +00:00
peter
716d54a6eb
Sync with i386 / alpha. Whitespace unindent / style prep for kse.
2001-09-02 10:07:09 +00:00
n_hibma
f5b5f22493
Add quirks for Kingbyte USB Pen drive.
...
Submitted by: Eugene M. Kim <gene@nttmcl.com>
PR: 29530
2001-09-02 09:31:08 +00:00
n_hibma
8d3cf62e68
Only clear endpoint stall if status was USBD_STALLED.
...
This avoids panicing the system by unplugging a hub. The interrupt transfer
would sometimes arrive after the driver had been removed.
2001-09-02 09:26:14 +00:00
peter
d280926250
Merge from i386: various cleanups including moving the map calculations
...
to MI code. This gets ia64 to compile again.
2001-09-02 07:47:47 +00:00
non
673668265d
Fix bus timeout bug which might happen when nsp do suspend I/O burst write.
...
A nsp chip does suspend I/O write by 512bytes burst write,
though the chip only has 48 bytes FIFO. The chip assert I/O WAIT
signal to PC-Card bus after the CPU writes more than 48 bytes to
the chip if the SCSI device does not respond immediately in supsend
I/O burst write. If the device does not respond for a while it might
cause PC-Card bus timeout.
The previous work around was to wait the request from SCSI device.
But there are some devices which request bytes for synchronous transfer
immediately. So current work aound is to fill 32bytes FIFO, wait for
FIFO empty and burst write 512-32 bytes for every 512 bytes block.
Submitted-by: Honda-san (the author of the driver)
Obtained-from: NetBSD/pc98
2001-09-02 07:18:29 +00:00
shiba
bc9f0fd7e6
Make the fe driver kernel object module to compile in default.
...
Reviewed by: imp
2001-09-02 06:43:45 +00:00
non
794b5d1b6e
Demand minimum I/O size rather than 0 when it calls
...
bus_alloc_resource(dev, SYS_RES_IOPORT, ...)
Pointed-out by: Yamamoto-san shigeru@iij.ad.jp
2001-09-02 06:42:40 +00:00
shiba
5757abe58a
Update cis tuple parser, add a pccarddevs entry,
...
and improve PCCARD_IVAR_ETHADDR in pccard_read_ivar().
Change points:
(1) Read Function Ext tuple.
(2) Add Ratoc REX-R280 entry(fe driver).
(3) Take ether address from function ext tuple.
Reviewed by: imp
Obtained from: NetBSD
2001-09-02 06:37:41 +00:00
shiba
6d8bf8b9b8
Make the fe driver to compile in default under a NEWCARD kernel.
...
Reviewed by: imp
2001-09-02 06:28:37 +00:00
iwasaki
647b8ba478
Fix typo; CTLFLAG_RO -> CTLFLAG_RD.
2001-09-02 06:28:20 +00:00
shiba
5536f31c22
Update the fe driver to probe and attach under a NEWCARD kernel.
...
Reviewed by: imp
Obtained from: NetBSD
2001-09-02 06:27:07 +00:00
jhb
74879eba28
Use sched_lock to protect rtp_to_pri() and pri_to_rtp() when needed.
2001-09-02 01:05:36 +00:00
jhb
58eccaba87
Protect pri_to_rtp() with sched_lock when needed.
2001-09-02 00:52:11 +00:00
jedgar
5b9926665b
Use ACL_PERM_NONE instead of hardcoding 0 when initializing
...
ACL entry permissions.
Reviewed by: rwatson
2001-09-01 23:18:15 +00:00
jedgar
3a1dcb19ea
In the case of ACL_OTHER and undefined ACL entry id's, set
...
ae_id to ACL_UNDEFINED_ID instead of 0.
Reviewed by: rwatson
2001-09-01 23:16:02 +00:00
n_hibma
13ecda917f
Small nit: Make both prints use 'at device %d.%d'.
2001-09-01 23:06:14 +00:00
msmith
2f50c10b5b
Add a MODULE_VERSION declaration. This should prevent duplicate loading
...
of the module, and allows other modules to depend on and link against
the ACPI module.
Add a sysctl that allows us to retrieve the ACPI CA version number as
well.
2001-09-01 22:41:53 +00:00
jhb
93b0ebae2c
Remove #if 0'd remnants of the old idle page zeroing.
2001-09-01 20:17:43 +00:00
jhb
943c0e0e19
Process priority is locked by the sched_lock, not the proc lock.
2001-09-01 20:16:30 +00:00
rwatson
00ec5e8482
o At some point, unmounting a non-EA file system with EA's compiled
...
in got a bit broken, when ufs_extattr_stop() was called and failed,
ufs_extattr_destroy() would panic. This makes the call to destroy()
conditional on the success of stop().
Submitted by: Christian Carstensen <cc@devcon.net>
Obtained from: TrustedBSD Project
2001-09-01 20:11:05 +00:00
dillon
e13c8f3257
Regenerate syscalls
2001-09-01 19:37:41 +00:00
dillon
0bdd59d16a
Synchronize syscalls.master(s) with recent Giant pushdown work
2001-09-01 19:36:48 +00:00
dillon
3f8ba718ee
Giant Pushdown:
...
read() pread() readv() write () pwrite() writev() ioctl() select ()
poll() openbsd_poll()
2001-09-01 19:34:23 +00:00
dillon
ab65c87802
Giant Pushdown. Saved the worst P4 tree breakage for last.
...
reboot() getpriority() setpriority() rtprio() osetrlimit() ogetrlimit()
setrlimit() getrlimit() getrusage() getpid() getppid() getpgrp()
getpgid() getsid() getgid() getegid() getgroups() setsid() setpgid()
setuid() seteuid() setgid() setegid() setgroups() setreuid() setregid()
setresuid() setresgid() getresuid() getresgid () __setugid() getlogin()
setlogin() modnext() modfnext() modstat() modfind() kldload() kldunload()
kldfind() kldnext() kldstat() kldfirstmod() kldsym() getdtablesize()
dup2() dup() fcntl() close() ofstat() fstat() nfsstat() fpathconf()
flock()
2001-09-01 19:04:37 +00:00
dillon
91ecbe11ac
Giant Pushdown
...
clock_gettime() clock_settime() nanosleep() settimeofday()
adjtime() getitimer() setitimer() __sysctl() ogetkerninfo()
sigaction() osigaction() sigpending() osigpending() osigvec()
osigblock() osigsetmask() sigsuspend() osigsuspend() osigstack()
sigaltstack() kill() okillpg() trapsignal() nosys()
2001-09-01 18:19:21 +00:00
marcel
f01626a3e5
Speculatively add this file. It's part of the Linuxulator update
...
to make it emulate Linux kernel version 2.4.2, which is required
in order to upgrade the linux_base port to RH 7.1.
Note that this file is only needed for 32-bit architectures. To
us this means i386 (for now?)
2001-09-01 18:11:45 +00:00
n_hibma
600918fc15
First check whether the USB transfer was cancelled before starting to
...
use the data structures related to that keyboard.
2001-09-01 09:38:45 +00:00
n_hibma
7346657593
Regen.
2001-09-01 09:35:46 +00:00
n_hibma
a49bd9fc8b
Spelling nit.
2001-09-01 09:33:15 +00:00
sos
774f09de4f
Make "atapi less" kernels link again.
...
Question is if we should allow the ioctl only interface to be
created if atapi devices are present, but no driver linked in....
2001-09-01 08:47:11 +00:00
dillon
c96eebc7a1
Undo last commit. The problem's been fixed for a long time.
2001-09-01 08:31:09 +00:00
dillon
b781e73eb6
Pushdown Giant for: profil(), ntp_adjtime(), ogethostname(),
...
osethostname(), ogethostid(), osethostid()
2001-09-01 05:47:58 +00:00
dillon
e398f0b04e
Giant pushdown sys_exit(), [o]wait(), wait4()
2001-09-01 04:37:34 +00:00