Commit Graph

76541 Commits

Author SHA1 Message Date
christos
5b0331e6c7 from Mason Loring Bliss: support "asf 0" 2001-02-13 16:07:59 +00:00
pk
063b190de9 Hold off supplying the text/data gap to the VM manager; our pv table
handling isn't adequate yet.
2001-02-13 15:54:33 +00:00
sommerfeld
37a3c0e7bc Replace strcpy with strlcpy and bounds check.
From mheffner@vt.edu via freebsd-audit@freebsd.org via hesiod@mit.edu
2001-02-13 15:41:18 +00:00
bjh21
27f2273eff Advanced RISC Machines Limited officially became ARM Limited on 1998-05-21.
Update the ARM ELF magic to match.
2001-02-13 14:35:21 +00:00
simonb
e07c392eed Fix typo in header filename. 2001-02-13 14:11:30 +00:00
pk
e547d3816d pmap_page_upload(): check if `etext_gap' is there, just in case. 2001-02-13 13:48:15 +00:00
bjh21
284047a2b2 Move sendsig() and sys___sigreturn14() from arm26/arm26/vm_machdep.c and
arm32/arm32/machdep.c into arm/arm/sig_machdep.c, merging and ANSIfying in
the process.

The code is based on the arm32 version, so I don't think anything should break
there.
2001-02-13 13:19:52 +00:00
bjh21
4e460028dc Since idle() turns up in so many stack backtraces, put it in the global
symbol table.
2001-02-13 13:16:37 +00:00
tacha
08cc996106 Check and set PCI power management register. clcs now works when
warm boot from Windows.
2001-02-13 04:11:11 +00:00
jmc
3d4ad14d6a Add an unconfig rule 2001-02-13 03:11:26 +00:00
jmc
8b0d17b72a Up the size to 12M. Add an unconfig rule 2001-02-13 03:10:56 +00:00
jmc
9d03470cc6 Need larger image. Add a new disktab layout for 12M 2001-02-13 03:10:21 +00:00
jmc
fafd1c111a Bring up to date 2001-02-13 03:09:27 +00:00
jmc
5b5b0dfdcb Add back proginstall rule so this doesn't get it's a.out header removed. 2001-02-13 03:08:54 +00:00
thorpej
f234f12854 Oops, `mii' attribute has to go onto the device decl. 2001-02-13 02:31:41 +00:00
thorpej
4641c2d237 Regen; D-Link DMF-560TX. 2001-02-13 02:09:37 +00:00
thorpej
65fd586599 Add a new D-Link ID (they seem to actually have a valid one, now!),
and add the DMF-560TX product.
2001-02-13 02:07:53 +00:00
thorpej
db1896b76f ne at pcmcia needs dl10019, mii, mii_bitbang 2001-02-13 01:58:56 +00:00
thorpej
d1b70a2231 Config attribute for the DL10019 MII support. 2001-02-13 01:56:28 +00:00
thorpej
4027cab9ea Support for the MII on the D-Link DL10019/DL10022 NE2000-compatible
Ethernet chips.
2001-02-13 01:43:02 +00:00
bjh21
3cbd9caea7 Fix an uninitialised variable which could have caused corruption of the user
button state (and hence spurious mouse clicks) if the event queue filled
up.
2001-02-13 01:14:45 +00:00
briggs
d5cb949785 Install int_types.h, too. 2001-02-13 01:12:56 +00:00
cgd
8318d9d0b9 change 'char *' args of clnt_pcreateerror, clnt_spcreateerror,
clnt_perror, and clnt_sperror to 'const char *' to follow manual
pages (!!).
2001-02-13 01:00:21 +00:00
blymn
95df9c4076 Various bug fixes:
* Allow the / char in the char_check routine
* Added debug for field checking
* Fixed handling of the 0xaabbccdd form
* Always set buffer 1 if it is available - previously dotted quad
  did not set this buffer.
* Fixed segv if no dots found
2001-02-13 01:00:11 +00:00
cgd
c52d4f59e8 __progname not used here, so don't extern it 2001-02-13 00:14:58 +00:00
cgd
d2d8d25fe6 progname not used here, so don't extern it 2001-02-13 00:11:45 +00:00
cgd
e76f9e3425 don't extern char *__progname; it's never used! 2001-02-12 23:59:17 +00:00
ichiro
357d9efda4 Power Management Hook
esm_powerhook();
2001-02-12 23:56:40 +00:00
mjacob
a898cb6cb0 Eliminate ISP2100_FABRIC- we always allow for fabric now. Add an
isp_iid_set/isp_iid for fibre channel- this is because we now
fake a port database entry for ourselves. Add the additional loop
states between LOOP_PDB_RCVD and LOOP_READY.

Change and comment on a wad of Fibre Channel isp_control functions.
Change and comment on some of the ISPASYNC Fibre Channel events.

Add was_fabric_dev/fabric_dev tags to our local FC database structure
(so we can see rapidly whether something was a fabric device but is
now gone).

Add a tag which says what role this adapter should take. It can take
on the value of None, Target, Initiator or Both. None is useful for
warm failover purposes. Remove the ISP_CFG_NOINIT silliness since
a role of "None" does this.

Add a isp_lastmbxcmd tag to store the opcode for the last mailbox
command used.
2001-02-12 23:33:49 +00:00
mjacob
b01ecfe65c Put in offset definitions for FPM and FBM registers, plus just enough
bits defined so we can reset them.
2001-02-12 23:33:11 +00:00
mjacob
a86729db93 Add structure defining FC-AL position maps. The only tool that I know of
that really uses this is luxadm(8) under Solaris.
2001-02-12 23:32:44 +00:00
mjacob
4409fa23b2 Remove ISP2100_FABRIC (we're always fabric now). Fix usage of isp_lastmbxcmd
to report the mailbox command that times out. Fix isp_unswizzle_sns_rsp
which for reasons *I* find obscurer just doesn't work correctly on sparc64
with words past 128. I have no idea why this *does* work on SparcLinux.
2001-02-12 23:32:11 +00:00
mjacob
25bc760687 Do some cleanup based upon adapter role- mainly not enabling interrupts
if we're ISP_ROLE_NONE. Change ISPASYNC_LOGGED_INOUT to ISPASYNC_PROMENADE.
Make sure we note if something is a fabric device.
2001-02-12 23:30:12 +00:00
mjacob
d9696b793a Add isp_fc_runstate function- this function's purpose is to, in stages,
and depending on role, make sure link is up, scan the fabric (if we're
connected to a fabric), scan the local loop (if appropriate), merge
the results into the local port database then, check once again
to make sure we have f/w at FW_READY state and the the loopstate
is LOOP_READY.
2001-02-12 23:29:26 +00:00
bjh21
82bf8a9d0a Avoid uninitialised variable reading /dev/mem. 2001-02-12 23:29:08 +00:00
mjacob
85b0326ec6 Minor stuff:
Remove ISP2100_FABRIC defines- we always handle fabric now. Insert
isp_getmap helper function (for getting Loop Position map). Make
sure we (for our own benefit) mark req_state_flags with RQSF_GOT_SENSE
for Fibre Channel if we got sense data- the !*$)!*$)~*$)*$ Qlogic
f/w doesn't do so. Add ISPCTL_SCAN_FABRIC, ISPCTL_SCAN_LOOP, ISPCTL_SEND_LIP,
and ISPCTL_GET_POSMAP isp_control functions. Correctly send async notifications
upstream for changes in the name server, changes in the port database, and
f/w crashes. Correctly set topology when we get a ASYNC_PTPMODE event.

When resetting the Qlogic 2X00 units, reset the FPM (Fibre Protocol
Module) and FBM (Fibre Buffer Modules). Also remember to clear the
semaphore registers. Tell the RISC processor to not halt on FPM
parity errors.


Finally, use a new tag in the softc to store the opcode for the
last mailbox command used so we can report which opcode timed
out.

Major stuff:
Quite massively redo how we handle Loop events- we've now added several
intermediate states between LOOP_PDB_RCVD and LOOP_READY. This allows us
a lot finer control about how we scan fabric, whether we go further
than scanning fabric, how we look at the local loop, and whether we
merge entries at the level or not. This is the next to last step for
moving managing loop state out of the core module entirely (whereupon
loop && fabric events will simply freeze the command queue and a thread
will run to figure out what's changed and *it* will re-enable the queu).
This fine amount of control also gets us closer to having an external
policy engine decide which fabric devices we really want to log into.

Throw out the ISP_CFG_NOINIT silliness and instead go to the use of
adapter 'roles' to see whether one completes initialization or not
(mostly for Fibre Channel). The ultimate intent, btw, of all of this
is to have a warm standby adapter for failover reasons.  Because
we do roles now, setting of Target Capable Class 3 service parameters
in the ICB for the 2x00 cards reflects from role. Also, in isp_start,
if we're not supporting an initiator role, we bounce outgoing commands
with a Selection Timeout error. Also clean out the TOGGLE_TMODE
goop for FC- there is no toggling of target mode like there is
for parallel SCSI cards.

Do more cleanup with respect to using target ids 0..125 in F-port
topologies. Also keep track of things which *were* fabric devices
so that when you rescan the fabric you can notify the outer layers
when fabric devices go away.

Only force a LOGOUT for fabric devices if they're still logged in
(i.e., you cat their Port Database entry. Clean up the Get All Next
scanning.
2001-02-12 23:28:50 +00:00
mjacob
055ac54fd2 set default HBA role 2001-02-12 23:25:20 +00:00
cgd
14a283f3cb since this makefile go to such trouble to subvert the normal make
process, it should be kind enough to provide its own 'distclean'
target (that does the same thing as clean and cleandir).
2001-02-12 23:24:34 +00:00
mjacob
e8b5aa491e update to latest f/w 2001-02-12 23:19:55 +00:00
pk
460bc0a0fc Recover the ~64KB gap in between the text/rodata & data segments that's being
generated by the linker in sparc/ELF images. The physical pages in this gap
are unmapped from the kernel and given to the VM manager.
2001-02-12 22:02:58 +00:00
briggs
d8cd14d437 Rip the guts out of pmap_remove() and create pmap_do_remove(), called with
a flag that determines whether or not wired mapping should be removed.
pmap_collect() calls pmap_do_remove() without this flag, and pmap_remove()
calls with it.
Pointed out on port-mac68k with suggested fix from chs.
2001-02-12 22:00:08 +00:00
pk
d713d112c9 Provide symbol `kernel_data_start' as the first address in the .data segment. 2001-02-12 21:56:54 +00:00
jdolecek
6574283ff5 sort more by priority, sligh rewording 2001-02-12 21:50:02 +00:00
jdolecek
07259dae69 note MALLOC()/FREE() usage should be cleaned up 2001-02-12 21:25:30 +00:00
manu
ad16681a92 Clarified comments about the LINUX_SCERR_SIGN macro 2001-02-12 21:25:08 +00:00
manu
472596699d Removed a copyright for code I have removed in a previous commit 2001-02-12 21:20:32 +00:00
is
351ab21168 Added Zorro bus manufacturer/product id codes to the table of supported
Zorro boards, to ease identification.
2001-02-12 20:17:26 +00:00
is
5676e7788a Document the new Zorro bus boards. 2001-02-12 20:07:03 +00:00
fvdl
a008ea27c9 Instead of storing the filehandle in the mount structure, store the
vnode pointer. This avoids a locking problem with nfs_nget, and
can be done because we always have a reference on the root vnode
of the filesystem.
2001-02-12 20:02:30 +00:00
fvdl
6b7a7448f5 Cast 32bit sunos_nfs_arg member to (char *)(long) to avoid warning
after sunos.h change (cast is safe; a SunOS binary will pas a 32 bit
pointer).
2001-02-12 19:49:20 +00:00