augustss
bb9f9be772
Add uirda.
2001-12-12 15:31:33 +00:00
augustss
4a802f4928
Add USB-IrDA bridge.
...
Needs more testing.
2001-12-12 15:27:24 +00:00
augustss
22735e5d44
Move usbd_clear_endpoint_toggle() prototype to usbdi.h.
2001-12-12 15:23:58 +00:00
gehenna
968318a989
Use vendor/product variables
2001-12-12 14:24:53 +00:00
gehenna
0f983137af
Don't change wire protocol state in umass generic function
2001-12-12 13:23:20 +00:00
gehenna
54e3c1962e
bcopy -> memcpy
2001-12-12 13:17:03 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
lukem
b574ee0f82
define NOMAN= once, at the real top level of lkm
2001-12-12 12:06:45 +00:00
lukem
19d9b95273
define NOMAN= once, at the top level
2001-12-12 11:56:05 +00:00
lukem
00255d260d
define NOMAN= once, at the top level
2001-12-12 11:44:43 +00:00
kleink
e1f611fa76
The MPC105 does not implement the IBM reference implementation's
...
Equipment Present Register (I/O port 0x080c), so perform L2 cache
detection here.
2001-12-12 10:18:48 +00:00
elric
51b292ea65
Added support for the PowerStorm 4d20, initial support that is.
...
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.
2001-12-12 07:50:05 +00:00
elric
94448f7e52
Update the ramdac interface to be allow the setting of dotclocks. This is
...
required to support the driver in ibm561.c.
2001-12-12 07:47:46 +00:00
elric
8ffabd82eb
Initial support for the IBM RGB561 RAMDAC. This uses the same interface
...
as the Bt463 and Bt485 drivers.
2001-12-12 07:46:48 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
jdolecek
4fbc1b008e
one more - it would be nice to have LKMs actually working on PowerPC platforms
2001-12-12 00:05:30 +00:00
augustss
1ad59a57f2
Recognized Danube chip as well.
...
Small cleanup.
2001-12-11 21:34:06 +00:00
aymeric
48de85e04b
add support for OBP 3.x as seen on some JavaStation 1's
2001-12-11 21:09:52 +00:00
kleink
b52ac962b3
Add pci device.
2001-12-11 21:02:42 +00:00
kleink
a5abbc5b66
Add wsfont pseudo-device.
2001-12-11 20:49:18 +00:00
jdolecek
d7129f9255
fix typo in #ifdef __FreeBSD__
...
Pointed out by Chris Jepeway in private e-mail, thanks!
2001-12-11 18:15:09 +00:00
pk
f696afd8ff
Name changes: {KBD,MS}_BPS => {KBD,MS}_DEFAULT_BPS
2001-12-11 17:27:25 +00:00
ragge
c7bae7c419
Add forgotten "hdc" and "rd" disks.
2001-12-11 15:14:25 +00:00
ad
f1e83bd500
Regen.
2001-12-11 11:21:56 +00:00
ad
a2b8531ff3
Add some Intel/ICP-Vortex/Compaq products.
2001-12-11 11:21:01 +00:00
kleink
b327c956d1
Regen: add product ID for the Motorola MPC107.
2001-12-11 11:00:45 +00:00
kleink
4e24ace442
Add product ID for the Motorola MPC107.
2001-12-11 10:57:50 +00:00
briggs
41f0fe2808
Make it possible to build a kernel that actually compiles and runs on a shark.
2001-12-11 06:00:16 +00:00
uwe
9a2a6c77e8
tabify
2001-12-11 05:54:56 +00:00
shin
13c66a24fe
compilation fix.
2001-12-11 05:43:11 +00:00
briggs
caf1c0abc7
include <arm/...> cousin
2001-12-11 04:50:51 +00:00
shin
7806543ebf
SPEC_PLATFORM is 'defparam' (requires value).
2001-12-11 04:46:39 +00:00
uwe
e51c17a95f
enable pci bus device. (hi matt!)
...
fix a whitespace nit while I'm here.
2001-12-11 04:29:26 +00:00
uwe
a2b05223ee
Add microSPARC-IIep support.
2001-12-11 04:25:58 +00:00
uwe
6767457cab
Add microSPARC-IIep support. Move sun4m bootstrap into separate
...
functions (for normal 4m and for IIep).
2001-12-11 04:21:39 +00:00
uwe
0a2b7fe7d7
Add microSPARC-IIep support. Protect mostek clock code with NMK48TXX
...
so that this file doesn't require obio, iommu and sbus to link the kernel.
Make todr_handle and establish_hostid() non-static.
2001-12-11 04:17:48 +00:00
uwe
d5a5296209
Implement microSPARC-IIep versions of sparc_interrupt4m, raise and microtime.
2001-12-11 03:46:59 +00:00
uwe
2d4ea9ba63
Add constants for microSPARC-IIep registers.
2001-12-11 03:43:22 +00:00
uwe
4924c0ae30
On ms-IIep kernel runs with PCI endian swapping turned on but we need
...
to turn it off before we pass control to PROM's repl as it expects
PCIC to be in little endian mode and would hang otherwise.
2001-12-11 03:35:02 +00:00
uwe
ee71ea68bc
microSPARC-IIep is a sun4m but with an integrated PCI controller.
...
In a lot of places (like pmap &c) we want it to be treated as SUN4M.
But since various low-level things are done very differently from
normal sparcs (and since for now it requires a relocated kernel
anyway), the MSIIEP kernels are not supposed to support any other
system. So when MSIIEP is defined - insist on SUN4M defined and SUN4
and SUN4C not defined.
2001-12-11 03:28:38 +00:00
uwe
814a815542
Export msiiep_swap_endian(onoff) from msiiep.c to turn on/off
...
automagic endian swapping performed by PCI controller. Need it in
several places where we want to enter PROM repl.
2001-12-11 03:24:46 +00:00
chris
80e667c6ab
Add clockctl device.
...
Note that someone needs to tidy this up, we've got 92 block devices, which just ain't true. Also appears we're actually missing some, eg the ld block device.
2001-12-11 00:34:50 +00:00
uwe
78eadd17b7
Attachment for MI com(4) driver at ebus.
2001-12-11 00:31:08 +00:00
uwe
81f0e10ca5
rtc (ds1287a) time of day clock at ebus.
2001-12-11 00:29:21 +00:00
uwe
255d046f95
EBus support for ms-IIep.
2001-12-11 00:25:31 +00:00
uwe
e0046f836b
EBus support for ms-IIep. This file should eventually be merged into
...
sys/dev/ebus/ebusreg.h and shared with sparc64 port.
2001-12-11 00:24:03 +00:00
uwe
de47c08727
microSPARC-IIep support.
2001-12-11 00:18:22 +00:00
martin
8b3d9b9497
Enable active LCP keepalive handling in the PPP layer, the PPPoE layer
...
itself has no means to detect broken connections.
2001-12-10 23:23:24 +00:00
uwe
02529ca11e
Fixed VA for microSPARC-IIep PCI controller.
2001-12-10 23:10:34 +00:00
briggs
eca843c395
define __HAVE_NWSCONS for pckbc.
2001-12-10 22:42:54 +00:00
uwe
75b646134f
mk48txx needs-flag to allow sparc's clock.c to be compiled without
...
mostek support that pulls in a lot of other stuff too.
2001-12-10 22:36:21 +00:00
briggs
25e9f1f519
Provide basic bus_space_mmap(). Noted by self and in PR port-powerpc/14873.
...
This at least allows the compile to complete. There are still Issues with
vga_pci.c's assumptions about a PC-ish environment.
2001-12-10 20:30:21 +00:00
thorpej
b5ea4050f9
Update for core dump changes.
2001-12-10 19:18:49 +00:00
kleink
0fc3ae7e76
Add (some) register definitions for the Motorola MPC105 PCI Bridge/Memory
...
Controller (PCIB/MC).
2001-12-10 12:09:33 +00:00
gmcgarry
6f71c27e26
MACHINE_ARCH -> MACHINE_CPU
2001-12-10 07:27:52 +00:00
gmcgarry
47e4542449
Pull in <bsd.own.mk> early so we can use MACHINE_CPU. Use
...
MACHINE_CPU instead of MACHINE_ARCH.
2001-12-10 07:26:47 +00:00
mhitch
4c3d013b14
Add a left shift routine needed by changes in lib/libsa/ufs.c.
2001-12-10 05:31:39 +00:00
chs
8eafa995c7
don't strip any symbols from profiling kernels,
...
that makes it harder to figure out what's going on.
2001-12-10 05:24:17 +00:00
thorpej
7767121514
I can't win today -- make this link.
2001-12-10 04:05:23 +00:00
augustss
aa816a6d89
Regen.
2001-12-10 03:36:54 +00:00
augustss
9cfe511c73
Add some devices.
2001-12-10 03:36:12 +00:00
augustss
01b4e2c572
When looking for a console keyboard if usb-kbd-ihandles can't be found
...
then try the old name usb-kbd-ihandle. This way my old iMac gets the
USB keyboard as console instead on the (non-existent) ADB keyboard.
Suggested by Gabriel Rosenkoetter.
2001-12-10 02:46:05 +00:00
thorpej
0b63bf16b8
Cast off_t to (long long) for printing.
2001-12-10 02:07:37 +00:00
thorpej
06920aef28
Move the code that walks the process's VM map during a coredump
...
into uvm_coredump_walkmap(), and use callbacks into the coredump
routine to do something with each section.
2001-12-10 01:52:26 +00:00
enami
8d6b971560
KNF.
2001-12-10 01:49:26 +00:00
chs
62c2e756ed
update vnode flags in ddb vnode-printing function.
2001-12-10 01:38:48 +00:00
thorpej
f884f172e3
Don't compare an int against NULL.
2001-12-10 00:33:04 +00:00
martin
0099682916
Now that everything works without LINK1 set, do not set it by default.
...
While here, remove an unnecessary splnet()/splx() pair.
2001-12-10 00:24:12 +00:00
martin
d585188042
We explicitly close LCP when going to state CLOSED, so we better open
...
it again when going from INITIAL to STARTING. This has been done for
passive or auto-conecting interfaces always, but not for permanent
ones.
This fixes session reestablishement for PPPoE interfaces without LINK1 set,
and probably also closes PR kern/11161.
Thanks to Jared D. McNeill and Ross Harvey for sugesting debug methology.
2001-12-10 00:22:21 +00:00
thorpej
91c4b48914
Build core_elf32.c if EXEC_ELF32. Build core_elf64.c if EXEC_ELF64.
2001-12-09 23:18:09 +00:00
thorpej
d0e51ba7da
Fix compilation problems.
2001-12-09 23:08:34 +00:00
thorpej
51535d4bf5
Add support for dumping ELF-cormat core files.
2001-12-09 23:05:56 +00:00
veego
9d39bbf3a8
Support for dvd region code (RPC).
2001-12-09 22:56:10 +00:00
veego
f36a75214e
Add some headers for region code support (RPC), which will be added in the
...
next commit of sys/dev/scsipi/cd.c.
2001-12-09 22:54:51 +00:00
briggs
05b3906727
Register prefixes for tron()/troff() macros.
2001-12-09 19:07:01 +00:00
manu
3cdc6f6197
Changed clocktl interface to use syscallargs structures
2001-12-09 16:10:43 +00:00
atatat
6dce2e2bec
Make the kernel depend on `vers.o' instead of `newvers'. This
...
eliminates the need to unconditionally rebuild vers.o and subsequently
to relink the kernel every time you type make, even if you just
finished one.
2001-12-09 16:04:03 +00:00
fvdl
14deefd5b1
pckbd_enable is called during autoconfig. Using pckbc_enqueue_cmd at
...
that time will have bad results, such as queue corruption because
of multiple TAILQ_INSERTs, etc, because it's not designed to work
in an interrupt/context-free environment. Use pckbc_poll_cmd instead.
2001-12-09 13:42:01 +00:00
pk
80c46be6c1
KBD_BPS => KBD_DEFAULT_BPS (sync with ms driver nomenclature).
2001-12-09 12:03:32 +00:00
pk
5962ca0a49
Allow SUN_MS_BPS to override the mouse baud rate at all times. (see PR14774).
2001-12-09 12:02:06 +00:00
atatat
f30d600bed
Fix a couple of rcsids.
2001-12-09 05:02:21 +00:00
atatat
b45c51b1fc
Roll the rest of the ports over to the new MI kernel build machinery.
...
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +00:00
thorpej
8663a7550e
Add files I mised when includes were straightened out (sorry, folks,
...
I had a stale kernel compile directory, which is why I missed this).
2001-12-09 03:35:08 +00:00
chs
8e9cdbbd63
replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names.
2001-12-09 03:07:43 +00:00
chs
849c9b2bfd
add {anon,file,exec}max as a upper bound on the amount of memory that
...
will be allocated for the respective usage types when there is contention
for memory.
replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names
and sysctl names.
2001-12-09 03:07:19 +00:00
gehenna
c9b557f40e
Add an item
2001-12-09 03:06:46 +00:00
briggs
c869df6afb
The new toolchain wants to generate relocatable branches to globally-defined
...
symbols--even when the branches are local and would otherwise work with
bxx.b. Compensate for this by shadowing the relevant labels with local
labels.
2001-12-09 01:43:13 +00:00
chris
3831bfec98
Improve comment on the clockswitching asm code, it doesn't use r0 at all, it just needs it to make valid asm.
2001-12-08 21:30:04 +00:00
chris
ce689bde4d
Fix the asm macros
...
The tmpx registers are now outputs, this makes them all unique.
Add the fact that cc is changed by the asm (not believed to be used but rather be correct)
Correctly specify w as an input and output register, I think this was hiding the bug below!
Allow sum to be in a different input and output register.
Correct bug in psuedo header handling for in4_cksum. Seems that the new macros turned up a latent bug in the psuedo header handling, the code was moving a pointer forward 16 bytes twice, not found before as the ADD16 macro wasn't 100% accurate, as it didn't output w, even though it modified it.
2001-12-08 21:18:50 +00:00
martin
b1554100e7
Change the way IPCP negotiation is handled.
...
Collect both local and remote address and set them to the interface in
one step (the peer adress was not set at all before).
This causes the peer address now to show up on the interface and all
messages to the routing socket to be send with correct data. The latter
has been the last missing piece to complete PPPoE support.
2001-12-08 19:46:39 +00:00
cyber
d6671330e0
The prom doesn't setup the fb if its not set to console.
...
We shouldn't try to configure it in that case.
This will make serial console work. completes fix to PR#14213
(Private email determined PR author was using serial console.)
2001-12-08 19:42:45 +00:00
manu
cebd826075
more sysconf...
2001-12-08 19:29:03 +00:00
manu
4d54359755
Implemented irix_sys_xstat(). This duplicates some code already present
...
for svr4 compat, maybe these should be merged..
2001-12-08 18:08:04 +00:00
atatat
756e7c6c1f
Add the rest of the infrastructure needed to support the rest of the
...
ports. This includes cleaning out DBG, cleaning up the `clean'
target, and tweaking the warnings flags (cesfic, amigappc, and the arm
ports are a little less warning resistant).
Oh, and let's `install' the kernel into ${DESTDIR} if someone says
`make install'. We have to think about cross-compilers here.
2001-12-08 15:01:41 +00:00
manu
e3824c6c59
Added IRIX signal delivery
2001-12-08 11:17:37 +00:00
manu
342f5317b0
Added IRIX signal trampoline
2001-12-08 11:15:43 +00:00
soren
a5812755ac
Pass sbus addresses to sbus_bus_map(), not sbus_bus_addr()'d ones.
2001-12-08 05:36:31 +00:00
gmcgarry
0d3b140525
Update list to reflect reality
2001-12-08 04:26:10 +00:00
gmcgarry
b820c21e65
Update for structural interrupt changes. No functional change.
2001-12-08 04:22:46 +00:00
gmcgarry
8dd1938ed2
softintr(9) interface for hp300
2001-12-08 04:12:37 +00:00
lukem
290cc55a28
- Implement
...
uint32_t namei_hash(const char *p, const char **ep)
which determines the equivalent MI hash32_str() hash for p.
If *ep != NULL, calculate the hash to the character before ep.
If *ep == NULL, calculate the has to the first / or NUL found, and
point *ep to that location.
- Use namei_hash() to calculate cn_hash in lookup() and relookup().
Hash distribution goes from 35-40% to 55-70%, with similar profiled
time spent in cache_lookup() and cache_enter() on my P3-600.
- Use namei_hash() to calculate cn_hash in nfs_readdirplusrpc(),
insetad of homegrown code (that differed from that in lookup() !)
namei_hash() has better spread and is faster than previous code
(which used a non-constant multiplication).
2001-12-08 04:09:59 +00:00
enami
df8cfd38a2
Test ".." correctly when creating reverse cache entry.
2001-12-08 04:09:56 +00:00
gmcgarry
9a9a6e8ad4
softintr(9) interface for hp300
2001-12-08 04:09:18 +00:00
gmcgarry
1ef513e6a8
Remove placeholder for event counter; it's done elsewhere
2001-12-08 04:04:49 +00:00
gmcgarry
544aceff4c
- shift event counters to intr.c
...
- use new event counters
- align comments
2001-12-08 04:01:48 +00:00
gmcgarry
6b8f8f10c6
- rework data structures to align with generic soft interrupts interface
...
- shift event counters from locore
2001-12-08 04:00:22 +00:00
gmcgarry
52c6bcd104
bcopy -> memcpy
...
bzero -> memset
bcmp -> memcmp
2001-12-08 03:55:22 +00:00
gmcgarry
aee7bee1a7
bcopy -> memcpy
...
bzero -> memset
bcmp -> memcmp
2001-12-08 03:34:38 +00:00
bjh21
979ce3fa95
Explicitly declare ofw_device_register(), since it's not in any header file.
...
Yes, this is nasty, but it's not as if this port has long to live, does it?
2001-12-08 01:22:45 +00:00
bjh21
4c64633edc
Remove more acorn32 leftovers.
2001-12-08 01:16:53 +00:00
minoura
3e9a826813
Add -p option to suppress creating the partition table.
2001-12-08 00:51:03 +00:00
thorpej
165f442f86
Update for "coredumps now exec-format/emulation specific".
2001-12-08 00:37:07 +00:00
thorpej
205c159f0e
Make the coredump routine exec-format/emulation specific. Split
...
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).
2001-12-08 00:35:25 +00:00
chris
6bcb608ef3
Reintroduce these header files so that cats kernels can build. Fallout from Jason reverting the includes stuff.
2001-12-07 23:09:32 +00:00
matt
ee7afa77b2
Fix sense of if to grab address from alternation if srom is not in isv
...
format on Davicom chips. Add sparc specific case in this case to call
myetheraddr if oui is all 0s (for Netra X1).
2001-12-07 21:13:58 +00:00
fredette
178a439b58
Regen.
2001-12-07 14:21:18 +00:00
bjh21
20d6672fda
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
2001-12-07 12:58:43 +00:00
yamt
272f471ee0
add detach support for st.
2001-12-07 11:26:30 +00:00
hannken
de07b4b524
Protect `opt_sparc_arch.h'. Used from /sys/arch/sparc/stand/boot.
2001-12-07 11:00:39 +00:00
itojun
33429d0612
correct timing to increment icmp6 MIB variables. sync with kame
2001-12-07 10:10:43 +00:00
onoe
d5d707cf1d
Add 82801BAM as piix.
...
Do not initialize global variables 'pciintr_icu_tag' to NULL.
Its type is 'const struct pciintr_icu *' (typedef'ed) and gcc sometimes(!)
put it in Text region. So force arrrange it to BSS.
2001-12-07 08:07:57 +00:00
onoe
e7357c0007
Regen: Add HPB and LPC functions of 82801BAM.
2001-12-07 08:00:35 +00:00
onoe
c971f89005
Add HPB and LPC functions of 82801BAM.
2001-12-07 07:59:24 +00:00
cjs
b445461d1e
Rebuild these to fix the "generated from" line.
2001-12-07 07:43:10 +00:00
jdolecek
3d4c59a8ee
Back off previous for now, Jason thinks it's not right. Will discuss
...
on tech-kern@
2001-12-07 07:09:29 +00:00
cjs
9dd4ce03d0
Add Palm m500/m505 and Sony Clie USB cradle device IDs.
2001-12-07 06:59:44 +00:00
minoura
a5d9ca13b1
New target: release.
2001-12-07 06:52:14 +00:00
minoura
7bd6e6b999
Correct typo.
2001-12-07 06:51:47 +00:00
fredette
b596abc4ed
Picked up some old scheduler changes. Now the sun2 locore
...
corresponds tightly to revision 1.81 of the sun3 locore.
2001-12-07 05:24:56 +00:00
briggs
f9d1ec360b
16 partitions -- agree with files.sandpoint
2001-12-07 05:20:57 +00:00
briggs
757139f41d
Disable ws* until we can have a working vga* at pci.
2001-12-07 05:10:59 +00:00
briggs
43fd0c736b
Add INSTALL kernel (copy from RAMDISK).
2001-12-07 05:10:17 +00:00
bjh21
8a16a572d7
Remove references to things that have disappeared in the acorn32 split.
2001-12-06 23:51:04 +00:00
simonb
e7a7551978
Convert the byte_swap_* macros from GNUish ({ ... }) extensions to
...
static inline functions.
2001-12-06 23:25:43 +00:00
christos
d343ff07bf
remove diagnostic test checking for cr_ref = 0. It will never be, because
...
free() will stick 0xdeadbeef into it.
2001-12-06 23:11:59 +00:00
jdolecek
255ce12e50
replace FIF_WANTCLOSE/FIF_LARVAL with FWANTCLOSE/FLARVAL, which are set
...
in f_flag of struct file
for now, keep former f_iflags of struct file as _f_spare0, it will be g/c'ed
when struct file will be changed (this will happen soon)
2001-12-06 22:34:24 +00:00
fredette
2fe9375188
Tweaked whitespace and, in comments only, added % to make this
...
file much easier to compare to its sun3 cousin.
2001-12-06 21:05:12 +00:00
jdolecek
27b0006d34
it doesn't make sense to wait for resources during autoconfiguration
2001-12-06 21:04:27 +00:00
augustss
ba528e6dec
Small change to Christos' fix: allow malloc() to return NULL, but complain
...
if it does.
2001-12-06 20:00:58 +00:00
christos
94074f1212
change the malloc arg from NOWAIT to WAITOK; pointed out by lennard.
2001-12-06 19:54:02 +00:00
christos
dbabce6bb7
PR/14852: Martin Husemann: Allocate the slotdata the the probed slot before
...
we call the configuration function. Thanks lennard for pointing it out.
XXX: Someone should look this over and make sure that the current strategy
makes sense.
2001-12-06 19:52:56 +00:00
jdolecek
142dc2740c
g/c, eventual port of newer FreeBSD smbfs will go to sys/fs/smbfs
2001-12-06 19:01:44 +00:00
kleink
bc1f5761e3
Recognize the MK48T18 as well (differs from the MK48T08 only in packaging
...
options and voltages).
2001-12-06 18:54:23 +00:00
augustss
22fd9bbb5f
Add IrDA related defines.
2001-12-06 17:00:26 +00:00
soren
00755fc870
options space tab.
2001-12-06 16:51:31 +00:00
augustss
ebdd7a70ea
Uncomment IrDA devices since they seem to work now.
2001-12-06 16:35:09 +00:00
rafal
a76d350acc
Fix component class/types to match reality for SGI's ARCS, which is just
...
different enough from stock ARC to be annoying.
2001-12-06 14:59:02 +00:00
wiz
d10951fb07
File contents not interesting anymore, and even partially wrong.
...
Remove it. Ok'd by chuq.
2001-12-06 13:56:35 +00:00
rafal
23e1fa1306
Fix PR 13465 by Krister Walfridsson: memory initialization used uninitialized
...
variable to start off the write pattern (how ironic! 8-).
2001-12-06 13:18:22 +00:00
bjh21
352d57f9e1
Remove IOMD support, since NetBSD/arm32 doesn't support IOMD systems any more.
2001-12-06 11:54:07 +00:00
msaitoh
72f2d1c3a3
#endif ... -> #endif /* ... */
2001-12-06 10:28:40 +00:00
chs
163b4fbc50
in vinvalbuf(), vtruncbuf() and vflushbuf(), don't skip calling
...
VOP_PUTPAGES() just because the vnode has no pages. layered filesystems
will want to pass these calls on through to the underlying filesystem,
and non-layered filesystems may need to remove the vnode from the
syncer queues. fix up MP locking and add some locking assertions.
fixes PRs 12284 and 14640.
2001-12-06 04:34:33 +00:00
chs
0931f31deb
add a VOP_PUTPAGES method for all the filesystems that don't have pages.
...
do all the work for destroying syncfs vnodes in vfs_deallocate_syncvnode()
to make some new assertions work out.
2001-12-06 04:30:49 +00:00
chs
1361ca58eb
be consistent, clear VONWORKLST when we take a syncer vnode off the
...
syncer list.
2001-12-06 04:29:55 +00:00
chs
4d14671458
add VOP_GETPAGES and VOP_PUTPAGES methods for layered filesystems.
...
drop the interlock on the upper layer, acquire the interlock on the
lower layer.
2001-12-06 04:29:23 +00:00
chs
3b229c5a51
use the genfs VOP_GETPAGES and VOP_PUTPAGES.
2001-12-06 04:28:07 +00:00
chs
5a690c92a1
add a VOP_PUTPAGES method for all the filesystems that don't have pages,
...
just unlock the interlock.
2001-12-06 04:27:40 +00:00
minoura
da36b95207
Sync with mvme68k.
2001-12-06 04:13:39 +00:00
minoura
bf3ea26688
Add ELF support.
2001-12-06 04:13:12 +00:00
lukem
c3a9ebdf37
fix comment
2001-12-06 04:02:22 +00:00
sommerfeld
39424268c6
Use #if defined(FOO_CPU) instead of #if FOO_CPU just to be picky.
...
Spotted by Thomas Klausner.
2001-12-06 01:56:19 +00:00
lukem
1546835120
Replace nfs_hash() (with its extremely bad hash) with a macro to call
...
hash32_buf() to obtain a 32 bit hash. On some tests I ran I obtained
a 30x improvement in hash distribution and a 6x reduction in time spent
in nfs_nget().
2001-12-06 01:26:36 +00:00
augustss
604ea366d4
Restructure to get rid of size limit.
...
Fix return value bug.
2001-12-06 00:17:12 +00:00
augustss
5ef96ebab2
Don't crash on early calls to get the speeds.
2001-12-06 00:11:18 +00:00
thorpej
8d9d5216ec
More complete conversion of the XMM-format tag word to i387-format
...
tag word.
2001-12-06 00:01:36 +00:00
lukem
78fd77ad3f
don't need nfs_hash prototype here
2001-12-05 23:58:14 +00:00
augustss
ec901ec7fe
Regen.
2001-12-05 23:25:56 +00:00
augustss
12812553f8
Add a NEC USB 2.0 hub. (USB 2.0 hubs are very rare creatures at the moment!)
2001-12-05 23:25:31 +00:00
atatat
52c50e165b
Use more parentheses to make the compiler happy.
2001-12-05 22:16:30 +00:00
atatat
d2c23d82a1
TRY_SCSI_LINKED_COMMANDS is a param, not a flag.
2001-12-05 22:15:05 +00:00
atatat
7ac1189351
Remove a redundant definition of __KERNEL_RCSID() that was redundantly
...
defined.
2001-12-05 21:06:51 +00:00
bouyer
3fe7074804
Compile with NWD == 0. Fixe kern/14844 by hamajima@nagoya.ydc.co.jp.
2001-12-05 20:43:00 +00:00
augustss
b24bbb4d82
Constify a little.
2001-12-05 20:00:15 +00:00
augustss
47fffba901
Add dongle specific code.
2001-12-05 19:59:54 +00:00
fredette
1a3eaeafd8
Now generate oosiop.out, the compiled 53c700 script.
2001-12-05 18:34:19 +00:00
fredette
ba3be8d408
Generated from oosiop.ss rev. 1.1:
...
Initial compiled script for 53c700.
2001-12-05 18:32:55 +00:00
fredette
60c77bb2f1
Added support for the Symbios/NCR 53c700 SCSI controller.
...
This chip is very similar to the 53c710, except that it's
missing a few registers, doesn't do relative jumps and
doesn't have the table-indirect addressing mode.
I have checked that this still generates the same output
on the existing scripts for the other chips.
2001-12-05 18:31:53 +00:00
fredette
8dce160cd1
New script for the Symbios/NCR 53c700 SCSI controller.
...
This is closely related to osiop.ss, the script for the
53c710.
2001-12-05 18:27:13 +00:00
atatat
2f31dcd126
It's not called "opt_fpuemulate.h", it's called "opt_fpu_emulate.h". :)
2001-12-05 18:04:35 +00:00
augustss
fe61017def
Add (commented out) irframetty.
2001-12-05 16:48:03 +00:00
augustss
88b5ed0731
Use NULL instead of 0 in a few places.
2001-12-05 16:12:42 +00:00
augustss
81f90d8cd3
Use the right name to decide if we should use irframe entry.
2001-12-05 16:10:09 +00:00
augustss
bd8b498c42
Do SIR framing on incoming frames.
2001-12-05 15:51:11 +00:00
augustss
8c2cf4c7d8
Break out SIR framing to its own file.
2001-12-05 14:50:13 +00:00
mrg
c3409421aa
add commented BLINK option.
2001-12-05 13:29:24 +00:00
wiz
31fcd50433
Use defparam instead of defflags for some bktr(4) related options that need
...
a value. Add BKTR_REVERSE_MUTE to defflags.
2001-12-05 11:41:16 +00:00
simonb
20a3ef2b53
Remove some debug printf()s.
2001-12-05 10:54:51 +00:00
enami
4654f5c754
Implement sigismasked() correctly. KNF while I'm here.
2001-12-05 07:32:24 +00:00
lukem
e35019c17b
Add <sys/hash.h>, which currently implements three inline functions:
...
uint32_t hash32_buf(const void *buf, size_t len, uint32_t ihash)
return 32 bit hash of buf, size len,
seeded with initial hash of ihash (usually HASH32_BUF_INIT).
this hash may use a different algorithm to hash32_str() and
hash32_strn().
uint32_t hash32_str(const void *buf, uint32_t ihash)
return 32 bit hash of buf, which is an NUL terminated ascii string,
seeded with initial hash of ihash (usually HASH32_STR_INIT).
this hash may use a different algorithm to hash32_buf()
but must use the same algorithm as hash32_strn().
uint32_t hash32_strn(const void *buf, size_t len, uint32_t ihash)
return 32 bit hash of buf, which is an NUL terminated ascii string
up to a maximum of len bytes,
seeded with initial hash of ihash (usually HASH32_STR_INIT).
this hash may use a different algorithm to hash32_buf()
but must use the same algorithm as hash32_str().
As discussed on tech-kern@netbsd.org .
2001-12-05 06:51:55 +00:00
chs
5e5ab17808
fix the sense of a MULTIPROCESSOR conditional, cpus after the first are
...
not configured if MULTIPROCESSOR is *not defined.
2001-12-05 05:13:50 +00:00
chs
f0d9c43220
fix macppc MULTIPROCESSOR compilation.
2001-12-05 05:02:10 +00:00
lukem
c0d0f0b31c
convert from macros to static inlines. allen briggs confirms resultant code
...
is the same with -Ox, for x>0 (as expected).
2001-12-05 04:37:28 +00:00
augustss
9c8fe0b8c5
Put bytes on right q.
2001-12-05 04:31:02 +00:00
augustss
0913a897a5
Set error code for IRDA_RESET_PARAMS.
2001-12-05 04:30:24 +00:00
augustss
af5eb6fc8c
Fix some minor bug.
...
Add more debugging.
2001-12-05 04:07:06 +00:00
augustss
b81ddff1a7
Reset parameters on open.
2001-12-05 04:06:32 +00:00
augustss
efade85d8e
Make the right defaults for kbdmux and mux locators.
2001-12-05 04:05:37 +00:00
simonb
a9f73b2015
s/defopt/defparam/ in previous; from lukem.
2001-12-05 03:50:09 +00:00
simonb
8a32c6fbfa
Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.
2001-12-05 03:24:57 +00:00
minoura
88031f5a81
Correct LINKS to install sdboot_ufs properly.
2001-12-05 02:07:09 +00:00