Commit Graph

53920 Commits

Author SHA1 Message Date
simonb 58faa5f0ca Clean up #ifdef checks a little. 2002-03-05 14:08:07 +00:00
wiz 92a8da0e0d 'securyty' looks nice. Sadly, it's wrong. 2002-03-05 13:59:13 +00:00
haya cff90ff521 Enforce 10-bit width for I/O addresses of 16-bit PC Cards when I/O
start address is assigned by a driver.
2002-03-05 11:56:33 +00:00
simonb 9bcc70fa1d Don't cast argument to ffs() to long.
Per discussion on port-alpha, noticed by Robert Elz.
2002-03-05 09:40:38 +00:00
itojun 2246ec4a66 on redirect output, always try to attach target link layer address option. 2002-03-05 08:13:56 +00:00
simonb c7339f8919 Include <sys/kernel.h> if UVMHIST is defined - the "cold" variable is
used in the UVMHIST_LOG macro.
Breakage reported by Chuck Silvers in private mail.
2002-03-05 05:45:54 +00:00
thorpej 5658662324 * Make pmap_is_{modified,referenced}() macros in pmap.h that just
test the attributes in the vm_page_md directly.
* Clean up pmap_clear_{modified,referenced}().
* Delete now-unused pmap_testbit().
2002-03-05 04:48:03 +00:00
thorpej a92da3d4a5 Switch back to using vm_page_md (thanks chuq for finding the bug
in the code that made it unstable before!)
2002-03-05 04:19:59 +00:00
itojun ac36f7cb2c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
simonb d224e9dcc0 Indent by tab and not two spaces. 2002-03-05 00:38:41 +00:00
simonb de2043f47e Sort function declarations.
Fix some KNF whitespace nits.
2002-03-05 00:34:14 +00:00
simonb 07a0ec1fd1 Split the (commented out) complete list of archs into separate lines
split alphabetically.  This makes it easier to add new archs without
having to do extensive reformatting.
2002-03-05 00:07:04 +00:00
thorpej f0963ab552 Add ofromioctl(), needed since Christos added ioctl to the memory device's
cdev decl.
2002-03-04 23:43:01 +00:00
manu 28cae7e6d6 Added setreuid/setregid 2002-03-04 22:19:02 +00:00
shiba db5d1f5f34 Add the machine id of PowerBook 190CS. 2002-03-04 16:58:37 +00:00
martin 877cb55678 regen (ELSA MicroLink mc all added) 2002-03-04 16:42:19 +00:00
martin b2b090d6b2 Add ELSA MicroLink mc all (ISDN + modem) card, OEMd from TDK. 2002-03-04 16:41:50 +00:00
wiz 634dabecb0 possible has two s. 2002-03-04 15:35:56 +00:00
sommerfeld ef49bcac3c Nuke out-of-synch comment. 2002-03-04 15:18:32 +00:00
martin b94047688f Avoid noise from the kernel if we have pseudo-device pppoe configured
but not used and a userland PPPoE pkg sends/receives PPPoE packets.
2002-03-04 15:15:05 +00:00
uch 2f603eaa17 CTL_MACHDEP definitions are integrated into sh3/include/cpu.h again. 2002-03-04 14:36:13 +00:00
wiz 0995897f47 Remove ipip reference. 2002-03-04 14:12:56 +00:00
kleink 8a79f029ad VRSAVE is SPR 256, not 238. 2002-03-04 13:37:42 +00:00
sommerfeld 3406f0a3dd The "gif*" tunnelling interface does everything ipip does.
Move usage example from ipip.4 to gif.4
Excise ipip and stitch up the scars.
2002-03-04 13:24:06 +00:00
dbj b5fde890d0 add cnpollc() calls around cngetc for TRAP_PANICWAIT 2002-03-04 04:07:35 +00:00
dbj ed04b7ecb3 add a few missing keys, including f1-f12,home,end,next,prior 2002-03-04 04:03:36 +00:00
simonb 6f0fb25121 Don't need to declare phys_map - it is declared in <uvm/uvm_extern.h>. 2002-03-04 02:43:22 +00:00
simonb bc7301d415 nlinesw is already declared in <sys/conf.h>. 2002-03-04 02:32:58 +00:00
simonb 8ecad242b9 Use <sys/disk.h> for the prototype of disk_init() rather than declaring
our own locally.
2002-03-04 02:30:27 +00:00
simonb 9a942a34e0 Don't use local extern declarations for the mountroot variable or
declare local prototypes for nfs_mountroot() or md_root_setconf().
2002-03-04 02:25:21 +00:00
simonb 60b62880cc Add a extern declaration for the mountroot variable. 2002-03-04 02:24:37 +00:00
simonb 64c7743a05 Don't "extern int cold;" - this is in <sys/kernel.h>. 2002-03-04 02:19:07 +00:00
dbj 47b3797fe7 Don't attempt to gather unrequested statistics.
Allow SIOCSWAVELAN with WI_RID_IFACE_STATS to request
an immediate statistics update.

We might in the future want to have SIOCGWAVELAN with
WI_RID_IFACE_STATS return an error if a statistics gathering is in
progress.  Then the caller could request fresh statistics and gather
them when they are done.  Instead, we currently just return whatever
statistics are available, which may be up to 60 seconds old.
2002-03-04 01:56:12 +00:00
wiz 1b7f309f0a Correct misspellings of "failed". 2002-03-04 01:38:31 +00:00
dbj e9d22f79b0 fix byte swapping when gathering statistics
this should complete the fix to pr 14385
AP scanning and statistic gathering should work on le hosts now
2002-03-04 01:33:17 +00:00
dbj 918b9d4dec correctly handle AP scanning result when there are no APs 2002-03-04 01:30:04 +00:00
dbj 0dca7b4f6d used %02x instead of %x when printing out BSS ids 2002-03-04 01:21:07 +00:00
dbj 0812667818 s/Faild/Failed/ 2002-03-04 01:19:24 +00:00
kleink 995081f947 Make this link again in the absence of envsys/sysmon. 2002-03-04 00:55:04 +00:00
augustss e4ca1c8a44 Use the correct pointer for the timeout abort. 2002-03-04 00:53:33 +00:00
martin 42172d9f1c Try to configure timing correctly.
Get rid of some ad hoc debuging printfs.
2002-03-03 22:47:28 +00:00
thorpej e0ea696615 * Add support for running the IQ80310 kernel where KERNEL_BASE !=
physical memory start.  Garbage-collect some cruft while here.
* Move the kernel up to 0xc0000000, giving a 1G/3G kernel/user split.
* Adjust the Integrator startup code accordingly.
2002-03-03 21:22:15 +00:00
thorpej e23381908a inittodr(): Actually initialize time from the file system time. 2002-03-03 21:10:40 +00:00
manu cb99a5f48e Implements SIOCNREAD ioctl (some kind of FIONREAD for sockets only). This
makes X11 binaries able to actually work: most of them were previously hang
in infinite loop wiaiting for data from the X server because SIOCNREAD
reported that some data where to be read whereas the X server had nothing
to say.

Tested (and works): xlogo, xterm, ghostview (IRIX build). Things are getting
interesting...
2002-03-03 20:12:17 +00:00
mhitch d616d3990b Enable transmit error and EPH interrupt, and reset NIC on EPH interrupt.
Fixes a source of lost interrupts.
2002-03-03 18:21:37 +00:00
uch bf5bf0be48 remove obsolete headers. 2002-03-03 14:59:55 +00:00
uch 0894ee8f62 use GENERIC. 2002-03-03 14:45:21 +00:00
uch 0d29f32a67 clean up config files. 2002-03-03 14:36:48 +00:00
uch 3c9bf76936 make it work correctly when both hd64461uart and hd64465uart are enabled. 2002-03-03 14:35:08 +00:00
uch 7592c6aa95 don't initialize twice 2002-03-03 14:34:36 +00:00
uch 7166e5033d platform dependent HD64461 PCMCIA module (power supply). 2002-03-03 14:34:00 +00:00
uch 08aefbe07d remove temporal debug code. 2002-03-03 14:32:21 +00:00
uch 90baa8b206 SR related parts moved to psl.h. cpufunc.h segments.h are removed.
kernel mode checking is only SR.MD. no check stack pointer.
2002-03-03 14:31:24 +00:00
uch 17fbf85dc3 machine dependent sysctl are moved to machine/cpu.h
dreamcast, hpcsh ... CPU_CONSDEV
	mmeye, evbsh3	 ... CPU_CONSDEV, CPU_LOADANDRESET
2002-03-03 14:28:48 +00:00
uch 24ebe31f30 remove unneeded configuration. 2002-03-03 14:27:24 +00:00
chris 1181e367e0 Implement pmap_growkernel for arm32 based ports.
Note that this has been compiled on some systems, cats, IQ80310, IPAQ, netwinder and shark (note that shark's build is currently broken due to other reasons), but only actually run on cats.
Shark doesn't make use of the functionality as I believe there has to be a correlation between OFW and the kernel tables so that calls into OFW work.
2002-03-03 11:22:58 +00:00
scw 293681cdc3 Rename the bootstrap from netboot to just boot as eventually it will
support both network and scsi devices in one binary.
(There are no absolute size restrictions for a PReP-style one-stage
bootloader).
2002-03-03 11:03:43 +00:00
scw 087d3361fc Define NEWPMAP here if it is not already defined, for the benefit
of lkms.
2002-03-03 10:55:35 +00:00
scw 44c52d4714 No longer need to define CACHELINESIZE here, and move NEWPMAP option
to std.mvmeppc since the old pmap module is not supported on mvmeppc.
2002-03-03 10:53:10 +00:00
nathanw b50fb54af2 Calculate and print the speed of G3 and G4 processors.
Add code to read the on-chip temperature sensor on the G3 and hook it in
to the envsys/sysmon subsystem. "envstat" now prints the CPU temperature.
2002-03-03 07:31:33 +00:00
nathanw 1eeb28024d Add sysmon data structures to struct cpu_info. 2002-03-03 07:09:09 +00:00
matt d26c78e764 All Moto PPC revisions should be printed as maj.min (0x0200 -> 2.0). 2002-03-03 07:09:01 +00:00
nathanw 780a2774c6 The cpu device now requires sysmon_envsys. 2002-03-03 07:04:34 +00:00
nathanw de0fe89086 Add sysmon device (62). 2002-03-03 07:02:54 +00:00
matt e0ba5cf38d Add initial MPC7455 support. 2002-03-03 06:56:09 +00:00
matt 997374a8dd Add MPC7455 2002-03-03 06:47:25 +00:00
nathanw 5d5aeaa547 Add bit definitions for the MMCR's, and event numbers for the events
that are common to the G3 and G4.
2002-03-03 06:38:31 +00:00
nathanw 7a92615001 Correct the SPR numbers of PMC3 and PMC4.
SIA wasn't retconned, but the SPR number was wrong. Re-add it, and add
USIA.
2002-03-03 05:32:37 +00:00
nathanw c2b8ec655a Delete the retconned SIAR SPR. 2002-03-03 05:17:48 +00:00
nathanw ee2cbbfe4a Add MPC7xx/7xxx performance monitor control registers (MMCR0-2, UMMCR0-2). 2002-03-03 05:15:44 +00:00
nathanw 28b2a20fb9 Add bit definitions for the MPC750 thermal management registers. 2002-03-03 04:31:53 +00:00
jmc 8c3c52f61d Provide a definition for DEV_EEPROM so mem.c will compile if SUN4 is defined. 2002-03-03 03:11:06 +00:00
thorpej 20dd585980 Add RCS ID. 2002-03-02 22:29:40 +00:00
uch 6042c0a3fc Initial support for KGDB on the sh3. 2002-03-02 22:26:25 +00:00
uch 65af267aeb Add SH7709A INTEVT2 register define. 2002-03-02 22:25:19 +00:00
thorpej ebcb5cdd36 Move the DBSYM bits up in the file. 2002-03-02 22:23:10 +00:00
uch 36c7edfda4 recompile 2002-03-02 22:03:51 +00:00
uch 795a7cf404 WCE210 support. 2002-03-02 22:01:57 +00:00
uch 2a2cc9f493 always open COM1 for the sake of KGDB. 2002-03-02 22:01:34 +00:00
uch ddf9130f5c add run-time detection of Windows CE version. 2002-03-02 22:01:05 +00:00
kleink 4a513728e8 Add end-of-comment missing in previous. 2002-03-02 21:36:27 +00:00
mhitch 9de3e943c6 Make reset actually do something and enable the use of the watchdog timer.
Losing interrupts no longer will hang the network.
2002-03-02 21:08:04 +00:00
martin 493d3dde20 Add support to query the peer for DNS addreses when negotiating IPCP.
Add ioctls to retrieve the results.

While here remove a malloc()/free() of an unused buffer.
2002-03-02 16:23:42 +00:00
chris a973797a7a Remove ref to VM_MAXKERN_ADDRESS, it's not used in this file 2002-03-02 15:35:05 +00:00
chris 4fa8495ff4 Update the types, pt_entry and pd_entry should be unsigned, and fixed at 32 bits. 2002-03-02 15:30:49 +00:00
kleink a34187bca3 Also reset segment register 0 on kernel entry: there may not always be
a fixed BAT entry covering segment 0, or not completely covering it,
and we do restore it on return to user level already.
2002-03-02 15:19:56 +00:00
kleink dc0a08feaa Note that Guarded bit is not implemented on the 601. 2002-03-02 15:07:35 +00:00
kleink 98eeb8198f Give block translations to I/O memory the Guarded attribute; from Matt Thomas. 2002-03-02 14:25:02 +00:00
mrg d3b3f3e560 move the COMPAT_SUNOS TIOCGPGRP handling in the compat sunos code proper.
this is the final fix needed for it to run properly as an LKM.  no more
COMPAT_SUNOS hacks around the tree!
2002-03-02 12:30:43 +00:00
mrg ccc760f047 check _KERNEL_OPT for opt_ddb.h 2002-03-02 12:28:16 +00:00
scw 6cf459ffb5 Add BAT_G to the I/O bats, as per matt@netbsd.org's change for macppc. 2002-03-02 11:01:50 +00:00
takemura 29e873a235 Added wsmux_set_display() to fix the problem that wskbd wan't connected
to any display if keyboard was attached before display and both aren't console.
2002-03-02 08:22:26 +00:00
matt b7a4d57a9e Now all MBR_* definitions come from <sys/disklabel_mbr.h> 2002-03-02 07:05:30 +00:00
matt 6327f7590a Move MBR_PTYPE_PREP from arch/prep/stand/mkbootimage to here.
Add a MBR_FLAGS_ACTIVE too.
2002-03-02 07:04:31 +00:00
chs a51be40dcb don't yield the cpu in genfs_putpages() if we're the pagedaemon.
pointed out by enami.  fixes PR 15784.
2002-03-02 06:58:01 +00:00
jmc 68b038f787 Wrap the generation of machine and powerpc links so they don't happen during
make obj, clean or cleandir as the proper objdir may not be around yet.
2002-03-02 06:32:28 +00:00
matt 4b948be2fc Disable BTIC on rev 2.0 or earlier MPC7450s as Motorola Errata #31 for the
MPC7450.
2002-03-02 02:18:38 +00:00
matt 102f6b0e48 Make sure I/O bats are set to BAT_I|BAT_G (guarded, cache-inhibited) as to
not allow speculative loads to occur within them.  This is the cause of the
random MCHKs on 7450 based Mac's.
2002-03-02 00:44:08 +00:00
ragge 16cd24dea4 usrptsize was not correct calculated, fixed.
Add space to system page table for the UVM kernel area.
This fixes the KVM usage problem that Manuel Bouyer reported a while ago.
2002-03-01 23:55:10 +00:00
thorpej 35abec3c31 Add -Os and -mcpu=i486 to COPTS. Add VNODE_OP_NOINLINE. 2002-03-01 23:42:20 +00:00
manu f48c7db878 Two more trivial bug fixes:
- copyin() the ntv argument to ntp_adjtime1(), to avoid some panics
- correctly handle the return value
And this still relates to kern/15519
2002-03-01 22:58:33 +00:00
thorpej 1caa35aa0f In tcp_segsize(), move a label so that option length is considered
when using the default TCP MSS as well.  From Matt Thomas.
2002-03-01 22:54:09 +00:00
thorpej 10444ca48f In in_savemkludge() and in_restoremkludge(), don't insert into a new
list without removing from the old one first.

From Matt Thomas.
2002-03-01 22:51:28 +00:00
bouyer 5d5c5c0ddd As siop_morecbd() is called from the kernel thread, protect access to the
queues with splbio.
2002-03-01 21:37:03 +00:00
kleink 6d484242b0 Regen: add Motorola Raven, Falcon and Hawk product IDs. 2002-03-01 13:48:59 +00:00
kleink b1c2f47c30 Add Motorola Raven, Falcon and Hawk product IDs. 2002-03-01 13:47:30 +00:00
martin f801cd463b Rename EBUS_PADDR_FROM_REG uses to EBUS_ADDR_FROM_REG. 2002-03-01 11:51:00 +00:00
martin a03fa01ccc Remove EBUS_PADDR_FROM_REG, as it does not realy creates a paddr on sparc.
It is superceeded by EBUS_ADDR_FROM_REG.
2002-03-01 11:49:06 +00:00
martin 7d9d648a64 For aesthetical reasons use bus_addr_t instead of paddr_t in the BUS_ADDR
makro. Requested by uwe.
2002-03-01 11:34:36 +00:00
martin ba6fe47ae9 Simplify the way the hardware windows are mapped and adapt the pcmcia
chipset functions acordingly. Initialize timing registers (for now to
the slowest possible setting).

Add some debug output. XXX - clean this up.

This is not ready for prime time, but I can attach ray0 and wi0 now in my
LX.
2002-03-01 10:02:38 +00:00
martin feaf0ddd87 Cast the "io" parameter of BUS_ADDR to paddr_t before it gets shifted.
This makes this makro work with smaller values passed for io. No functional
change.
2002-03-01 07:19:29 +00:00
itojun 8e4fadc28a missing splx 2002-03-01 04:19:42 +00:00
itojun 3edb75b9d5 unifdef -D__NetBSD__ 2002-03-01 04:16:38 +00:00
enami fa5084d17e Make this file compiles w/o FWNODE_DEBUG. 2002-03-01 01:01:18 +00:00
thorpej 8c51a03d7e If the upper layer says Write/Invalidate is okay, then make sure
it's enabled in the PCI CSR.
2002-02-28 23:52:37 +00:00
pooka 360cafaddb Don't add fs->fs_pendingblocks to f_bavail twice. It's already included
in f_bfree, which is added to f_bavail.

Fixes problem with statfs reporting too much free space for filesystems
which have files pending to be freed by softdeps.
2002-02-28 21:59:23 +00:00
scw fc673fcd59 Missed this file when adding mvmeppc port. 2002-02-28 21:54:42 +00:00
thorpej 1addb1955a Default to telling the MI PCI code that rd/line, rd/mult, and wr/inv
commands are OK.
2002-02-28 21:48:05 +00:00
fvdl a16656fe06 Invalidate the access cache when loading a new set of attributes into
the atribute cache. Fixes access cache problem seen by
Nathan Funk of the UofS, relayed by Greg Oster.
2002-02-28 21:38:08 +00:00
jmcneill f58e1d41e1 Regen 2002-02-28 21:10:51 +00:00
jmcneill f3b42effa5 Add Linksys Wireless USB Network Adapters (WUSB11, both original and ver 2.5) 2002-02-28 21:10:28 +00:00
christos 894ca870b3 use the <sys/conf.h> macro to get the mmap footprint. 2002-02-28 21:00:23 +00:00
martin 75c5a16cfc Enforce a lower bound of 32 for tcp_mssdflt.
This avoids kernel crashes when we don't handle nonsensial values
like 0 gracefully. Better check here once beforehand than having to
check for non meaningful values in time critical paths (like tcp_output).

Fixes PR 15709.
2002-02-28 20:26:17 +00:00
leo 18dfb594ff These were created by accident (typo), hope this removal does what I
expect from the man-page...
2002-02-28 20:08:18 +00:00
thorpej 2ba5de1eb1 Change the default Rx FIFO drain threshold to 128 bytes; this
reduces the likelihood of Rx FIFO overruns on machines with wimpy
PCI busses, while still allowing the interface to burst with a
reasonable size.
2002-02-28 20:08:11 +00:00
thorpej 759f452292 Don't call m_aux_find() to find a VLAN tag unless VLANs are configured
on the interface.
2002-02-28 19:23:03 +00:00
thorpej 07e108c7dc * On the DP83820, make sure to make the Tx DMA map large enough for
jumbo frames.
* Work around broken PXE firmware on some boards, which leave the ROM
  BAR enabled even after the PXE stack has been unloaded.
* Set up the initial values for sc_tx_fill_thresh, sc_tx_drain_thresh, and
  sc_rx_drain_thresh in sip_attach(), rather than in sip_init().
2002-02-28 19:10:16 +00:00
uch f21c737967 Catch up with the latest vrip changes. 2002-02-28 18:26:05 +00:00
uch b94c8137ab cpu_reset:
Set EXPEVT to 0x20(manual reset) before jump to reset vector.
2002-02-28 18:18:51 +00:00
uch bbcdfc2583 Use sh3/intcreg.h macro instead of immediate. 2002-02-28 18:17:29 +00:00
thorpej f711992b7f Add options GATEWAY. 2002-02-28 17:54:56 +00:00
uch 9c21656766 cpu_dumpconf, reserve_dumppages, dumpsys, cpu_reset are moved to sh3/sh3_machdep.c 2002-02-28 16:54:28 +00:00
uch f52cc0a5e4 Fix comment to reflect reality. 2002-02-28 16:52:46 +00:00
thorpej c49eaa2724 Don't use NULL for non-pointer arguments. 2002-02-28 04:49:16 +00:00
thorpej 92eb54d5a5 Don't assign NULL to non-pointer variables. 2002-02-28 04:43:16 +00:00
junyoung 66900b849e Regen. 2002-02-28 03:40:43 +00:00
junyoung c1670f1122 Oops, readd an ID for Rage XL which was removed in previous commit. 2002-02-28 03:39:37 +00:00
simonb 4324f37586 Use "#define<tab>". 2002-02-28 03:17:23 +00:00
junyoung 36dc3b5f36 Regen; fix for duplicate ATI Rage Pro. 2002-02-28 02:34:15 +00:00
junyoung 1ce4367071 Better fix of duplicate ATI Rage Pro IDs. `_B' and `_P' mean BGA and
PQFP, respectively.
2002-02-28 02:32:50 +00:00
uch 74680cb1cd change define _ -> PRINT 2002-02-28 01:59:51 +00:00
uch 6ece4e10f0 Remove #if 0 #endif 2002-02-28 01:58:53 +00:00
uch 2e904b2d1e s/MMEYE_NO_CACHE/CACHE_DISABLE/ 2002-02-28 01:58:18 +00:00
uch bbc655c4fb Cleanup register definition 2002-02-28 01:56:57 +00:00
uch 40382c6556 Change foo_r0_r1 macro in sh3/locore.h to foo(Rn, Rm) 2002-02-28 01:53:42 +00:00
uch 06fbd079f5 Remove unneeded header. 2002-02-28 01:52:28 +00:00
christos d487168d5f PR/15754: Sean Davis: Initialize if_softc before calling the mii init
routines to avoid NULL pointer de-referencing in the callbacks.
2002-02-28 00:52:21 +00:00
augustss da0af33867 Change mapping of keycode 50 to be closer to the spec. 2002-02-28 00:30:13 +00:00
scw bd9412df1c Oops, replace this with a (very) slightly modified version of prep's
intr.h instead of a remnant of my original hacking where it was based
on sandpoint's.
2002-02-28 00:27:38 +00:00
scw eb06a2e443 Nuke a file which should not have been commited. 2002-02-28 00:02:26 +00:00
augustss 27cee6c777 Regen. 2002-02-27 23:29:01 +00:00
augustss f2afa010b1 Add some more stuff that might make Palm and Sony devices work.
(Gleaned from Linux.)
2002-02-27 23:00:03 +00:00
augustss 50a7e169bc Add Palm m125. 2002-02-27 22:45:16 +00:00
scw f179ae8cce Get in sync with include files. 2002-02-27 21:55:44 +00:00
scw 509f6019ae Add entry for mvmeppc. 2002-02-27 21:33:46 +00:00
scw 4c447e5383 New port: NetBSD/mvmeppc
Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
2002-02-27 21:02:12 +00:00
martin fe3a97c935 regen 2002-02-27 21:01:55 +00:00
martin b6b3e04f66 Avoid duplicate define for ATI Rage Pro PCI 2002-02-27 21:00:28 +00:00
leo f70bec2792 Also visit the file2swp subdir. 2002-02-27 20:29:14 +00:00
leo 927df39940 copy a file to a 'SWP' partition 2002-02-27 20:14:39 +00:00
junyoung 53e222d45c Regen. 2002-02-27 16:38:08 +00:00
junyoung ab2517393d Fully revise product IDs for ATI Mach64 and Rage graphics cards.
XXX Rage 128 not revised.
2002-02-27 16:36:41 +00:00
pk f478419a29 Calling pmap_zero_page() (in #if DEBUG section) from pmap_bootstrap() hangs
an E250; comment it out.
2002-02-27 16:09:51 +00:00
chs 2cce3ebcba honor the PG_RDONLY flag (so that NFS can clear the PG_NEEDCOMMIT flag
when page with it set is modified again).  fixes PR 15733.
2002-02-27 16:02:03 +00:00
augustss 5d2b04bb42 Move the interrupt bailout when a cancelled ii is found. 2002-02-27 12:42:41 +00:00
augustss 5663022c32 Remove spurious splusb().
Lower abort hardware wait.
2002-02-27 12:12:45 +00:00
simonb 06b7c00543 s/DEL_ZERO/DEV_ZERO/ 2002-02-27 06:51:57 +00:00
jmc 71b05541b5 Initial layout for SBP2 routines. Mainly just the code yanked from fwnode.c
so it's not lost.
2002-02-27 05:12:11 +00:00
jmc 6cf5c78fa4 Basic prototype/beginning of firewire disk support using sbp2/scsi. Commiting
to have a baseline.
2002-02-27 05:11:27 +00:00
jmc 40cba409bb Change/pretty up some debugging info.
Also, add unit location fields to the ROM image. The p1212 spec requires
unit locations if you have 2 or more unit directories which is the case for
ipv4 and ipv6 compiled into a kernel.
2002-02-27 05:09:15 +00:00
jmc f04610f130 Move definition of if_fw fifo location to ieee1394reg.h as it's needed for
filling in unit location in the rom.

XXX: This all is really too welded together. The if_fw code should be
decoupled from this and simply be handed a method by which it can provide
the config rom back to the main code.
2002-02-27 05:07:25 +00:00
jmc d455d6316d Add 3 more macros for extracting info from bus info block 2002-02-27 05:05:39 +00:00
jmc ea96c58797 Change length values to u_int32_t 2002-02-27 05:04:28 +00:00
jmc cc7dba0633 Add definition for ieee1212/p1212 2002-02-27 05:03:24 +00:00
jmc ed05bf459e Rototill fwnode.c to rely on the p1212 routines to parse and validate the ROM 2002-02-27 05:02:25 +00:00
jmc 8140d3a6bb Note done sections related to fwnode/ieee1212 stuff 2002-02-27 05:00:55 +00:00
jmc 2d478bd8d8 Move over from std to here 2002-02-27 05:00:00 +00:00
jmc 524644efa7 SBP is a firewire/ieee1394 specific protocol, not a generic standard. Move this
to the ieee1394 directory
2002-02-27 04:59:29 +00:00
jmc b1eeba63dc Initial checkin.
A framework for parsing p1212 compliant ROM's and returning a tree that
describes it. Include routines for searching the tree, walking it to
apply functions against nodes and printing out the tree.

Also provide a utility routine to take all the unit dirs present in a ROM,
loop against them and present them to config_found to configure all possible
sub devices.
2002-02-27 04:58:50 +00:00
jmc 00ea0581b5 Add a few more extraction macros and begin the ALLOW list of flags for
overriding specific checks in p1212_parse
2002-02-27 04:55:58 +00:00
kleink 39a685458d Fix pastos & typoe. 2002-02-27 04:13:10 +00:00
lukem 1119bfe6ea nfs_connect(): if NFSMNT_RESVPORT is set, set IP_PORTRANGE_LOW on the socket
rather than using home-grown code to find a free reserved socket.
this also results in nfs pcb's having the INP_ANONPORT and INP_LOWPORT flags
set, which is useful for netstat(1) to know.
2002-02-27 03:46:36 +00:00
matt 178af24f65 Add a comment to where we increment intr_depth to show that intstk+INTSTK
== intr_depth. (gag)
2002-02-27 03:27:14 +00:00
kleink ebb0f83c31 Sort. 2002-02-27 02:21:22 +00:00
rafal 929d489997 In _bus_dmamap_sync, only invalidate as much data as there is in the current
segment rather than invalidating the total map length for each segment.
2002-02-27 01:51:48 +00:00
itojun 2ff9b43758 sync blowfish function prototype between i386 assembly and C.
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
2002-02-27 01:32:17 +00:00
augustss 0357a44190 Avoid a race condition spotted by UCHIYAMA Yasushi <uch@vnop.net>. 2002-02-27 01:30:50 +00:00
christos e8116a8f5b - Use DEV_ constants, instead of documenting the numbers!
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]
2002-02-27 01:20:51 +00:00
christos 6b030ee036 - define other DEV_ constants that the local port uses.
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-02-27 01:19:03 +00:00
christos a5890d9fa8 - add constants for DEV_{MEM,KMEM,NULL,ZERO} only arm is the oddball one using
3 for DEV_ZERO and should be fixed.
- cdev_decl(mm) since all the ports do the same.
- change _mm_ initialization to include ioctl entry point.
2002-02-27 01:17:58 +00:00
christos 61924161d3 Add mm.c 2002-02-27 01:16:30 +00:00
christos 5d823a2299 Start of mi /dev/{mem,kmem,zero,null} driver. We add an ioctl entry, because
we don't want to throw an error when FIONBIO is requested. We also allow
FIOASYNC clear.
2002-02-27 01:16:14 +00:00
jmcneill f876e538ae Add options (commented out) for disabling power hooks on the pms and pmsi
PS/2 mouse drivers.
2002-02-27 00:31:12 +00:00
jmcneill cc72a54933 Add constraints to allow for disabling PS/2 mouse powerhooks. As requested
by Chuck Cranor.

To disable powerhooks with the pms and pmsi drivers, respectively:
  options PMS_DISABLE_POWERHOOK
  options PMSI_DISABLE_POWERHOOK
2002-02-27 00:30:07 +00:00
kleink 5424a781c8 Upon reflection, use hexadecimal values for previous, which make the
segment/block/battable relationship far more obvious.
2002-02-26 23:56:52 +00:00
kleink 4218adb6c2 Move battable entries for I/O to their correct pseudo-segment offsets;
while BAT spills currently don't happen, it should be possible for the
handlers to find them at the expected address anyway.

XXX Why the PCI I/O and Memory spaces are being installed in the iBAT
XXX registers is beyond me.
2002-02-26 23:45:54 +00:00
eeh 1eb3484425 Fix PR# port-sparc64/13811: PCITAG_SETNODE() is defined using `x' insted of `t'.
from URA Hiroshi
2002-02-26 22:39:14 +00:00
tv b2ec8a78fc NEW_PIPE is no longer a configurable option (there's only PIPE_SOCKETPAIR,
inverted logic).
2002-02-26 21:44:29 +00:00
kleink 5e6a2be4e0 For the time being, add a wrapper around GENERIC causing the tlp driver
to match the on-board 21040, which the de driver has issues with.
2002-02-26 19:02:50 +00:00
kleink 9fcf8c7e63 Add platform support for the Motorola Ultra Plus and Ultra 60x boards.
Note that this currently matches only the boards built into Bull Estrella
systems, as Bull chose to change the board identification string whose
original content is not known at this time.
2002-02-26 16:09:14 +00:00