jdolecek
51260b556e
use 'jmp label:l' to force adressing to be absolute, rather than pc-relative
2002-05-19 21:40:04 +00:00
jdolecek
ce58107cdd
use jmp label:l to force absolute, rather than pc-relative, adressing
2002-05-19 21:34:16 +00:00
tls
92f8323be6
Fix client-side lockmgr: locking against myself panic immediately upon an
...
attempt to NFS-mount a filesystem with the -l (use ReaddirPlus RPC) option.
Fix from Bill Sommerfeld.
2002-05-19 20:51:04 +00:00
leo
5b406e9d20
Try to defeat the assembler optimizer. If we jump to a local label, it tries
...
to use a pc-relative jump. Which is definitely not what is needed in the
relocation code!
This is new in the current assembler apparantly. None of the kernels build
after my latest upgrade were able to boot... What else is lurking!
2002-05-19 20:26:58 +00:00
augustss
cea3466ea6
Add NEED_BINARY, similar to NEED_SREC.
2002-05-19 18:57:33 +00:00
augustss
7202dc2f30
Add CPU_CI symbol so that bzero.S actually compiles on ports other than walnut.
2002-05-19 18:56:54 +00:00
jdolecek
ff2064e0c8
make compat_linux LKM buildable on macppc
2002-05-19 18:18:36 +00:00
jdolecek
bfbe50611b
On archs with broken linux struct stat64 st_ino, rename linux_stat64's
...
lst_ino to __lst_ino and lst_ino64 to lst_ino, and define
LINUX_STAT64_HAS_BROKEN_ST_INO. Only assign __lst_ino if this define
is present.
This fixes compile on powerpc archs, and hence port-powerpc/16893.
2002-05-19 18:03:15 +00:00
jdolecek
98a5f2b671
hook in truncate64(2) and ftruncate64(2)
2002-05-19 17:55:42 +00:00
jdolecek
973744c531
add missing linux_file64.c, which is needed now
2002-05-19 17:55:08 +00:00
bouyer
953ad0720e
Add support for HPT374. Submited by Matthew Rezny in kern/16897, with
...
minor adjustements by me.
2002-05-19 17:40:46 +00:00
jdolecek
2fc860bc0d
make usable in LKM context (use #if defined(_KERNEL_OPT))
2002-05-19 16:55:43 +00:00
bouyer
5cf2b73fb8
Regen: add HPT372 and 74 PCI IDE controllers.
2002-05-19 16:02:44 +00:00
bouyer
503b19427a
Add HPT372 and 74 PCI IDE controllers.
2002-05-19 16:00:19 +00:00
msaitoh
7c10da8b66
fix some overflow cases.
2002-05-19 15:10:46 +00:00
itojun
12bdf036e2
pull in SPD lifetime management code. fix refcnt for SPD entries.
...
sync w/kame
XXX dead SPD entry lifetime - undergoing sakane's review
2002-05-19 08:22:12 +00:00
isaki
74b7155205
Ignore incompatible part between GNU tar and pax.
...
idea from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
2002-05-19 08:14:13 +00:00
itojun
9244bd8154
document net.key.* sysctl. provide sysctl MIB for controlling
...
proposal payload on ACQUIRE message. sync w/kame
2002-05-19 08:12:55 +00:00
itojun
691d519c66
remove unneeded decl for __ss_{len,family}
2002-05-19 07:54:05 +00:00
augustss
aaf6178285
Handle the "aligment" fault generated by DCBZ when the cache is off.
...
That way you can run the processor with caches off.
2002-05-19 06:35:45 +00:00
augustss
4bc0b333ea
Update dma memory access API a little.
2002-05-19 06:24:30 +00:00
augustss
894da75819
Regen.
2002-05-19 06:20:01 +00:00
augustss
4b2bf1316d
Another mouse.
2002-05-19 06:13:29 +00:00
itojun
d2fd814987
in sp caching code, check if sp is still alive. sync w/kame
2002-05-19 00:46:40 +00:00
nathanw
6b65b300bf
Add missing common or OSF/1 PALcode instructions from the AARM: wtint,
...
clrfen, urti.
2002-05-19 00:23:50 +00:00
sommerfeld
404be58a8d
Regen
2002-05-19 00:19:22 +00:00
sommerfeld
889b8b80d2
Some E7500 device ids
2002-05-19 00:17:34 +00:00
sommerfeld
d7135de9ea
Regen
2002-05-19 00:01:29 +00:00
sommerfeld
11aa3c6a28
Fortunately for us, all interrupt controllers are not 8259's
2002-05-19 00:01:09 +00:00
sommerfeld
60cfb93a0f
Some P64H2 device ids
2002-05-18 23:58:00 +00:00
jmcneill
f70f5218cf
Add a 'tlp at pci' attachment to the laptop installation kernel. GENERIC_LAPTOP
...
already has this, and some machines (notably, mine :) ) have onboard tlp and
won't boot with INSTALL or GENERIC.
2002-05-18 23:49:40 +00:00
jklos
7cb0b700f0
Updated NKMEMPAGES_MAX_DEFAULT so that large memory systems won't crash
...
when allocating/deallocating lots of memory at once.
2002-05-18 23:00:32 +00:00
itojun
ea750a3018
sync with KAME.
...
- don't MALLOC() with M_WAITOK in the spl block.
move the allocation before splnet().
- when we reset vt of a class, reset the runtime service curve as well.
- don't use max() to compare 64 bit values.
2002-05-18 22:53:25 +00:00
itojun
1d8b891867
sync with KAME.
...
- make altq_etherclassify() able to handle packets whose ethernet header
is in a separate mbuf. closes netbsd PR 16559
2002-05-18 22:52:44 +00:00
sommerfeld
ce6cc5672c
Add "pa_rawintrpin" containing unswizzled interrupt pin to pci_attach_args.
2002-05-18 21:40:41 +00:00
ad
d7e512df18
- Use write barriers.
...
- NBPG -> PAGE_SIZE.
2002-05-18 20:59:20 +00:00
tsutsui
e8b1f54f84
Use ${.TARGET} where appropriate.
2002-05-18 19:03:10 +00:00
sommerfeld
314ef13c23
In pci_probe_device(), correct test for whether the device is behind a
...
pci-pci bridge (and thus needs its interrupts "swizzled").
Formerly, pci_probe_device() assumed pci busses other than bus zero
were bridged; however, much recent x86 hardware supports multiple
primary pci busses differently -- there is a system-wide bus numbering
scheme. Now, we instead look at the (newly introduced) sc_bridgetag
value in the parent bus to figure out if there's a ppb or equivalent
in the way.
This fixed at least one case where the i386 MP branch gets interrupt
mapping wrong.
2002-05-18 18:14:11 +00:00
bouyer
af09484589
Be more verbose when returning XS_DRIVER_STUFFUP
2002-05-18 16:09:43 +00:00
kent
820aca767e
USB_ATTACH: Initialize sc_plachan.altidx and sc_recchan.altidx with -1.
2002-05-18 15:14:39 +00:00
bouyer
29270413af
If the data len if not a multiple of 2 bytes, force PIO mode. DMA can't
...
deal with such xfers, and can wedge the system with some controllers.
It's a bug to request such xfers for ATAPI, but as the request may come
from userland we have to protect against it.
2002-05-18 14:49:55 +00:00
jdolecek
e8895ed0a1
Various whitespace fixes, and turn 'No packet to start' message to DPRINTF().
...
Mostly inspired by Christian Limpach's patch in port-next68k/16978.
2002-05-18 14:33:35 +00:00
jdolecek
88203d9c69
whitespace & formatting fixes, from Christian Limpach in port-next68/16798
2002-05-18 14:09:44 +00:00
isaki
1dc0c84b6b
Make ELF kernel loadable, by itohy-san.
2002-05-18 13:54:38 +00:00
lukem
572fd50bc0
enable scsi_find (et al) only if NSCSIBUS > 0
2002-05-18 07:32:11 +00:00
matt
77820698c6
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
...
driver to added latter.
2002-05-18 07:23:04 +00:00
matt
cad72c184d
Regen.
2002-05-18 07:19:41 +00:00
matt
01b871fa50
Add SYMBIOS FC9[12]9 and 1030R
2002-05-18 07:19:16 +00:00
uch
272ed861db
BSD raw partition is obsolete. raw partition is changed to C.
2002-05-18 07:13:01 +00:00
lukem
491a00e92d
add missing union sun3sir sun3sir; (hi gimpy!)
2002-05-18 06:59:12 +00:00
lukem
633e8d9515
minor cosmetic tweaks:
...
- put \r\n before OF_open message
- use '0' + i % 10 instead of 'A' + i to print the read block number
2002-05-18 04:24:22 +00:00
lukem
4fa13b2be7
nuke MD installboot, now that it doesn't understand the macppc
...
bootblocks anymore and /usr/sbin/installboot does
2002-05-18 04:06:12 +00:00
enami
1578726840
Just give up to do readahead rather than waiting busy pages.
...
While I'm here, added few patchable variable so that one can
easily measure readahead behaviour.
2002-05-18 02:54:57 +00:00
eeh
4678e53555
Fix inverted comparison. We only wan to flush the I$ on *userland* executable
...
mappings.
2002-05-18 00:51:15 +00:00
mjacob
7aac86133e
Pointy hat to me on the last delta.
2002-05-18 00:48:11 +00:00
martin
bdd46f7081
(Mostly) backout previous, with some slight modifications.
...
Restore the reset thread, to make resetting the interface possible while
not blocking interrupts.
Make sure to throw away garbage input while the reset thread is at work
(by setting sc_enabled a bit later).
Issue a PMS_RESET command when resetting to address PR 16788.
2002-05-17 22:49:48 +00:00
enami
2afb4efc4c
Make uvn_findpages to return number of pages found so that caller can
...
easily check if all requested pages are found or not.
2002-05-17 22:00:50 +00:00
perseant
36efaa3565
use macros from <sys/queue.h>
2002-05-17 21:42:38 +00:00
mjacob
a14da6673f
Replicate change that Matt Thomas made in isp_pci- if we get ENOMEM/EAGAIN
...
in bus_dmamap_load, return CMD_EAGAIN rather than just make the command dead.
2002-05-17 19:06:24 +00:00
mjacob
c3514c8f6d
Slight touchup on last change- make sure HBA_BOTCH is set (just in case
...
somebody at a different level does the wrong thing) on ENOMEM/EAGAIN returns
from loading DMA.
2002-05-17 19:05:08 +00:00
mjacob
16fa96cfc8
Give XS_DRIVER_STUFFUP a case all by itself.
2002-05-17 18:56:05 +00:00
lukem
b3facf5a7d
reduce MACPPC_BOOT_BLOCK_MAX_SIZE from 6K to 2K, to fit what bootxx is
...
limited to (and a CDROM limitation as well?)
2002-05-17 18:53:34 +00:00
mjacob
c2d194880d
Fix seveeral issues- but the most important of which is that we have
...
to check if we get a RQCS_DATA_UNDERRUN - if we're an FC card, we may
not have RQCS_RU set- if it isn't set, we just lost a DATA XFR IU in the
middle of the exchange. In this case, we have to bomb out the whole xfer.
We had been getting silent data corruption before.
2002-05-17 18:49:42 +00:00
lukem
7f3c3f9b76
Fixes from Bill Studenmund and Allen Briggs:
...
- setup a 32KB (+32byte) stack, instead of 4KB stack
- cache flush: use _start instead of 0x4000, and flush 2k instead of 1k
Features (by me):
- implement:
OF_write() (and grab "stdout" from "/chosen")
putstrn(s,n) using OF_write(); write string s of n bytes long
putstr(s); write fixed-sized string s
putc(c); write char c
- add some useful messages which output the status of loading the
stage 2 bootstrap (which is usually ofwboot)
This code now works on Bill's Beige G3!
2002-05-17 18:45:55 +00:00
jdolecek
46a7bc7d62
Force absolute jumps where necessary, newer gas generates pc-relative
...
jumps, which we don't want here.
Reported, suggested fix, and testing by Christian Limpach in port-next68k/16793.
2002-05-17 18:03:50 +00:00
wiz
070bb0af6f
Tokens after #else are ignored, which is not the intention here.
2002-05-17 12:44:45 +00:00
martin
3d49645449
Remove debug printf accidently commited.
...
Noticed by Thomas Klausner.
2002-05-17 09:28:34 +00:00
jdolecek
8d0d2a392c
make kgdb buildable again, g/c next68k/stub.c
...
Changes by Christian Limpach in kern/16794, with some minor adjustment
by me.
2002-05-17 06:44:03 +00:00
groo
a54b0bba2e
Regen.
2002-05-17 01:07:53 +00:00
groo
ec845de24e
Add a bunch of Inside Out Networks devices.
2002-05-17 01:07:17 +00:00
eeh
5f3262977c
Don't use smaller trapframes. Causes more problems that it's worth right now. CVS: ----------------------------------------------------------------------
2002-05-16 23:29:42 +00:00
eeh
d3aa1ab1c4
Add a missing carriage return.
2002-05-16 23:21:55 +00:00
deberg
5d6d9530b6
big-endian macros
2002-05-16 20:37:12 +00:00
eeh
a48bd3e3b4
Make the PCI code actually work.
2002-05-16 20:28:33 +00:00
eeh
ac0772ab66
Correctly print out all out regs in the trapframe.
2002-05-16 20:27:09 +00:00
wiz
0ed95fb29e
#ifdef 1 -> #if 1
2002-05-16 20:05:39 +00:00
wiz
86afeb9db4
Remove bogus stuff after #endif.
2002-05-16 19:56:13 +00:00
wiz
f2fda839cd
Comment out token after #endif.
...
XXX: Weird token here -- please double check.
2002-05-16 19:51:40 +00:00
wiz
79deb5d12d
Comment out token after #endif.
2002-05-16 19:40:53 +00:00
wiz
da0b574ae0
Comment out token after #endif.
2002-05-16 19:30:41 +00:00
wrstuden
1ada35e0f6
Adjust how we set up our stack. According to the ABI, we store the
...
return pc address at (r1). So don't initialize r1 to be outside our
stack area. Scooted it in 16 bytes to help alignment.
2002-05-16 18:02:47 +00:00
kleink
4647b339e3
Fix typo in attribute name.
2002-05-16 12:12:30 +00:00
haya
1ce4bf6bec
Bugfix: s/__NetBSD_Version/__NetBSD_Version__/. IPv4 over IEEE 1394
...
will work with this change.
2002-05-16 09:08:33 +00:00
briggs
62ee522426
Put options after include to please config(8).
2002-05-16 03:35:20 +00:00
thorpej
64c6407d7b
Garbage-collect the empty-for-years "su" device.
2002-05-16 02:59:57 +00:00
thorpej
f4cc1100b0
Don't use a 2-dimensional array for the channel's periph table. Instead,
...
hash the target and lun together and use a hash table. This will be
necessary in order to support very large (64-bit) LUN number spaces.
2002-05-16 02:54:20 +00:00
thorpej
4daab7072a
Don't access a scsipi channel's periph table directly; use
...
scsipi_lookup_periph().
2002-05-16 02:50:53 +00:00
thorpej
6c1654256e
Fix LP64 printf format warning.
2002-05-16 02:23:55 +00:00
uwe
1d33ded1ea
Fix stupid typo in pci_decompose_tag().
2002-05-16 01:33:53 +00:00
thorpej
86b4df33e7
Make sure pa.pa_bus is initialized. (Thanks, uwe!)
2002-05-16 01:03:05 +00:00
thorpej
204183c0fa
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
...
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
briggs
5921f0ce6c
Split GENERIC into GENERIC (for the X3 revision of the board in native
...
interrupt mode) and GENERIC.X2 (for the X2 revision of the board or an
X3 in legacy interrupt mode).
2002-05-16 00:20:00 +00:00
briggs
a7656b0fb6
Comment out pciide stuff since it's not working yet.
2002-05-16 00:09:47 +00:00
matt
496a3cb868
Let's put a s = splnet(); to match the splx(s); already in the routine.
...
(yes, we were doing an splx with an uninitialized variable).
2002-05-15 23:51:49 +00:00
matt
1f4c6f5868
Regen.
2002-05-15 22:48:42 +00:00
matt
0bfea741e8
Correct/add more PMC-Sierra PHYs
2002-05-15 22:48:17 +00:00
matt
57752d8c7f
Regen.
2002-05-15 21:25:28 +00:00
matt
5a4d71be86
Add another PMC-SIERRA phy
2002-05-15 21:24:59 +00:00
kleink
87e54a98ec
Presently lacking a better place (or actually use) for this, record
...
the MTX's board ID here, too.
2002-05-15 21:06:11 +00:00
matt
a61a41b6b0
Only enable detailed evcnts if GEM_COUNTERS is defined. But always count
...
interrupts.
2002-05-15 21:05:23 +00:00