drochner
e135f943fa
add support for DMA mapping, bus probes ala "badaddr" and VME interrupts,
...
improve diagnostic output
2000-03-12 11:21:02 +00:00
takemura
c12028016f
Add makefile to install hpcfb.h.
2000-03-12 06:40:16 +00:00
sommerfeld
f6ec059d2e
add newline at end of last line.
2000-03-12 05:35:37 +00:00
nathanw
1203bdcbb3
Bus_space-ify TGA register accesses.
...
(raster operations are still using pointer-based access)
2000-03-12 05:32:29 +00:00
itojun
7560717e93
undo interface addition attempt if in6_ifinit() fails.
...
without it, :: will be kept if in6_ifinit() fails.
2000-03-12 05:23:07 +00:00
takemura
e9619d5d21
New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
2000-03-12 05:04:44 +00:00
itojun
9f8cac1f16
undo interface address addition attempt, when in_ifinit fails.
...
(this basically avoids memory leakage)
2000-03-12 05:01:16 +00:00
takemura
058d87a788
Add a new frame buffer identifier for the hpcmips.
2000-03-12 04:59:24 +00:00
mycroft
602faa83a8
Do *not* fiddle with the serial/parallel IRQ mode selection on TI chips.
...
Without extensive probing, we cannot possibly know that we're doing the right
thing.
Also some stylistic changes.
2000-03-12 04:34:29 +00:00
mycroft
781b535703
Revert the previous change.
2000-03-12 04:27:12 +00:00
mycroft
c7a13f6116
Revert the previous change. It does not match the commit message *and* was
...
incomplete (and probably quite broken).
2000-03-12 04:25:57 +00:00
bouyer
31a775880b
lfs_truncate: handle synlinks with length > maxsymlink_len as regular files.
...
For symlinks > 60 chars we were bzero'ing part of (struct inode) past the
actual inode struct, corrupting memory following the current (struct inode)
resuling in a 'panic: pool_get(lfsinopl): free list modified' later.
This could also be the cause of random panics. With this fix LFS seems to be
useable for me now.
2000-03-12 01:45:01 +00:00
thorpej
5c64f2064d
Add missing sc_pil_intr_enable member to pccbb_softc.
...
XXX Double check this, please. The code appears to only use it as a
boolean, but...
2000-03-12 01:15:04 +00:00
jdolecek
27fe6c0aee
regen
2000-03-11 16:13:39 +00:00
jdolecek
d01b78affd
Add id for Alliance AT25, as sent by Dave Sainty in kern/9596.
2000-03-11 16:13:14 +00:00
shin
53cff1c1e5
fix typo.
2000-03-11 09:11:33 +00:00
shin
531586bc96
fix frame buffer type (normalized to 'black on white').
2000-03-11 09:05:17 +00:00
shin
a56d95d08b
fix PV-6000/C-1000 keycode mapping.
2000-03-11 08:53:33 +00:00
shin
b7a1ee6c84
configure controller 0 only (workaround for phantom PCIC).
2000-03-11 08:51:55 +00:00
soren
2d525b16dd
The shortened 1371 reset delay in revision 1.32 doesn't seem to be
...
quite enough for my 1373, so increase it some.
2000-03-11 06:42:37 +00:00
perseant
61fa9e1409
Move vinvalbuf's check for dirty blocks into ffs_fsync, to ensure that
...
mode and ownership bits are flushed to disk before the vnode is
reclaimed.
The check, introduced in the softdep merge, assumes that if no blocks
are dirty, no file data *or metadata* needs to be flushed to disk. This
is true of ffs, but is not true of lfs, and may not be true of other
filesystems.
Tested by myself and Bill Squier <groo@cs.stevens-tech.edu>.
2000-03-11 05:00:18 +00:00
thorpej
0fcf68825f
Back out previous, and adjust a comment.
2000-03-10 22:39:03 +00:00
bouyer
b58bf3c7bb
Don't reset cp->hw_ok ro 0 when cp isn't initialised in cy693_chip_map()
...
(used only in failure case). Pointed out by Wolfgang Solfrank.
While I'm here correct indentation.
2000-03-10 21:21:48 +00:00
tsutsui
dc259a36a2
Use CTRL_AST interrupt to handle asynchronous trap.
2000-03-10 19:06:43 +00:00
minoura
37132adf3f
Sync. with news68k/news68k/mem.c:1.2.
2000-03-10 16:28:56 +00:00
itojun
673e8e6fad
move IPPROTO_DONE to IPPROTO_xx group
2000-03-10 15:30:55 +00:00
itojun
8937ddef33
do not touch radix_node with RNF_ROOT on route_output(). this can
...
cause kernel panic (by non-root invocation of route(8)) on certain
routing table setup.
KAME PR: 217
2000-03-10 14:47:12 +00:00
kleink
fc34e21eac
Add an EILSEQ code (C99, first appeared in C90/AMD1), and update message
...
catalogs where possible.
2000-03-10 13:58:59 +00:00
haya
173f823e3a
Only apply power on 3.3 V CardBus card (there are no 5 V CardBus card.)
2000-03-10 11:08:49 +00:00
sato
06f85d40f0
change about VRIPDEBUG. no action changes.
2000-03-10 09:18:00 +00:00
sato
67e7cb40b1
fix print message when #undef VRGIUDEBUG and change a little.
2000-03-10 09:05:01 +00:00
thorpej
7e044bd4e5
Move pretty much all of the PCI configuration goo into a separate
...
function.
2000-03-10 07:26:41 +00:00
thorpej
370bc1832b
Normalize the copyright notice (TNF copyrights should *always* match
...
the appropriate template), and run through indent.
2000-03-10 07:11:47 +00:00
thorpej
0fef451485
Pull the code that take the Tulip out of powersave mode into a separate
...
function.
2000-03-10 06:55:09 +00:00
thorpej
f76ce3b475
Only poll for bell completion if we're calling in from cnbell(). Fixes
...
a problem reported by Lennart Augustsson.
2000-03-10 06:10:34 +00:00
groo
0a77d41f4f
clean up lm0 example
2000-03-10 06:03:18 +00:00
onoe
cf32e2713c
Adopt the macro name change of if_ieee80211.h.
...
also fixed the value for receiving packets in infrastructure mode,
while no one has been tested with.
2000-03-10 05:47:42 +00:00
onoe
85656424da
Rename the macro IEEE80211_FC1_RCVFROM_XXX to IEEE80211_FC1_DIR_XXX
...
and fix the value to be consistent with IEEE 802.11 spec.
The only customer of this macro is if_ray driver for now.
2000-03-10 05:44:23 +00:00
thorpej
0391e3393f
Slight change to the SROM size printf.
2000-03-10 02:46:39 +00:00
nisimura
4c043eb094
Arrange 'vmstat -i' to show 'optslotN'; for interrupt counts of TC slot N
...
as well as DECsystem 5100 optional serial card slot N.
2000-03-10 01:31:22 +00:00
sato
79d83d72e1
printf -> DPRINTF
...
vrisa_debug = 0 by default.
2000-03-10 01:30:06 +00:00
enami
01a5f6c995
Create new kernel thread to issue statfs(2) system call to check free
...
disk space rather than doing it in timeout handler. This fixes long
standing bug that accounting file can't be put on NFS file system (so,
e.g, we couldn't turn on accounting on diskless system).
2000-03-10 01:13:18 +00:00
matt
9f86839658
change Mb/s to MB/s (Megabit to megabyte).
2000-03-09 23:19:26 +00:00
scottr
87bf486935
Back out previous; it's now dead code.
2000-03-09 23:15:23 +00:00
cjs
0aaf8765ad
Add reminder to add stuff to ALPHA as well as this.
2000-03-09 22:27:26 +00:00
scottr
d5f475149c
The last change has proven unreliable. Attack the problem differently;
...
assume that the address we have is the correct PA if we can't
figure it out by groveling. This time it really (yes, really)
works on the PowerBook 14x/16x/170.
2000-03-09 22:27:09 +00:00
cjs
fe76319160
Add ident and RAID_AUTOCONFIG to bring up to date with GENERIC.
2000-03-09 22:26:41 +00:00
itojun
402493dee5
change member name for icmp6_filter, to be conformant to RFC2292.
...
From: Francis Dupont
2000-03-09 21:26:16 +00:00
soren
c70220f2a2
Move PCIIDE_CHANNEL_NAME macro to pciidereg.h.
2000-03-09 20:26:31 +00:00
thorpej
0bcbafe0ee
Correct the number of arguments to wsdisplay_set_cons_kbd(), for the
...
changes I made for cnbell().
2000-03-09 18:59:27 +00:00
drochner
0542cec055
put "#ifdef __alpha__" around "alpha_mb()" calls
...
(I know the driver is useless without console initialisation, but it
should at least compile.)
2000-03-09 18:40:36 +00:00
hubertf
f3f4e44c39
fix typo
2000-03-09 16:49:22 +00:00
ad
5af90382c5
Add missing chrtoblktbl entry.
2000-03-09 11:19:30 +00:00
jdolecek
24ea2caf14
regen
2000-03-09 09:53:03 +00:00
jdolecek
3abb87c0f5
Add Conexant SoftK56 PCI Software Modem, Sony CXD3222 OHCI i.LINK(IEEE 1394)
...
PCI controller, Sony Memory Stick I/F Controller
Ids send by John Hawkinson in kern/9588
2000-03-09 09:50:49 +00:00
garbled
ea089cf90c
New features:
...
tctrl now initializes the state of the internal LCD icons. The icons
are unprogrammed at boot time. This incidentally makes the DC-POWER icon
work.
Fixes:
Fix my stupidity in the ENVSYS stuff, and actually follow the API.
2000-03-09 07:04:08 +00:00
groo
7e567738f2
support rfact. use manufac. suggested resistor values by default
...
clean up some comments
2000-03-09 04:20:58 +00:00
groo
7e6d7b8613
use bus independent probe
2000-03-09 04:19:03 +00:00
groo
ed0b72db8f
Add rfact multiplication factor for DC voltage sources
...
Clean up formatting (fit in 80 columns)
2000-03-09 04:13:58 +00:00
groo
752c98f8ea
Add (commented out) lm driver examples
2000-03-09 04:12:42 +00:00
matt
ebe08edbb2
add VS400 scsi attachment + a few other things
2000-03-09 02:05:07 +00:00
matt
57032be837
disable scsi for ka49 until sgmap is adapted to it.
2000-03-09 02:02:12 +00:00
matt
082a04f053
don't enable sgmap on ka49 yet.
2000-03-08 23:50:51 +00:00
matt
f21e750db2
only have vmapbuf/vunmapbuf do anything on the ka46/48/49.
2000-03-08 23:49:10 +00:00
mhitch
5a9b9df419
Do the interrupt dispatch somewhat differently than the previous fix.
...
This one is more in the spirit of incorrect version which was trying
to shorten the interrupt path. This probably isn't quite as fast as
using a switch() statement to dispatch the interrupts, but should be
a little faster than testing for each of the possible 6 interrupt
conditions.
2000-03-08 18:09:27 +00:00
augustss
e0d3ede01c
Get the status right when a polled transfer times out.
2000-03-08 15:34:10 +00:00
augustss
07574c3239
Add a debug message.
2000-03-08 15:33:38 +00:00
augustss
45f32a77f5
Clean up code a little and add some more debug messages.
2000-03-08 15:33:24 +00:00
takemura
fe02fcfe1e
GENERIC configration includes Cassiopeia E-55 CF card support.
2000-03-08 14:53:33 +00:00
jdolecek
b1e34812e4
Fix obvious off-by-one error in db_output().
...
Fixes kern/9570 by John Hawkinson.
2000-03-08 08:31:33 +00:00
mhitch
0641e677c4
Using interrupt bits in a switch statement doesn't work very well if more
...
than one interrupt bit is set (unless you do some fancy case values).
Check each interrupt bit individually and process the interrupt if set.
5000/200 doesn't hang shortly after booting now.
2000-03-07 23:41:35 +00:00
kleink
ad7dbd825c
Define ISO C99 (unsigned) long long (min, max) symbols.
2000-03-07 19:33:00 +00:00
kleink
0c7df56c40
Define ISO C99 (unsigned) long long (min, max) symbols.
...
VS: ----------------------------------------------------------------------
2000-03-07 19:31:50 +00:00
kleink
a9ebf7bb8c
Define ISO C99 (unsigned) long long (min, max) symbols.
2000-03-07 19:31:49 +00:00
groo
af00b7b880
split probe into generic and bus specific
2000-03-07 18:39:14 +00:00
tsutsui
56423f59aa
Use b_cylinder as defined in sys/buf.h.
2000-03-07 15:59:24 +00:00
tsutsui
d16c6f3272
Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit.
2000-03-07 15:55:14 +00:00
tsutsui
d9d840d522
- Remove unnecessary prototype declaration of readdisklabel().
...
- Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit.
2000-03-07 15:35:42 +00:00
haya
4398e0bd07
Fix CardBus device number. Though CardBus device number should be 0,
...
the value of bridge's function number was assigned to the device
number.
2000-03-07 09:36:52 +00:00
scottr
6755970bcf
Low-level drivers, like the Power Manager driver, can get us into a major
...
funk when they misbehave and give us unexpected results. Specifically:
- Don't assume that the first free slot is at the top of the table if
we can't find one.
- Don't increment ADBNumDevices when backfilling "holes" left by devices
that didn't respond to a TALK R3 during the initial device scan.
- Don't assume that an address reassignment worked; make sure something
responds on the new address before plowing forward.
- If after device reassignment there are no free slots, make sure to
indicate this fact.
- Failing all else, handle the situation where we run out of slots in
the device table -- which now should "never" happen -- gracefully.
While the Power Manager driver still sometimes misbehaves, it shouldn't
cause the system to crash/hang due to us walking off the end of the
device table.
2000-03-07 06:35:22 +00:00
thorpej
d315d42657
Back out part of 1.104 which isn't actually needed.
2000-03-07 05:39:57 +00:00
mycroft
5a212f7999
Fix a splx() botch or two.
2000-03-07 04:58:35 +00:00
shin
5913106c36
add '%INCLUDES'.
2000-03-07 04:17:27 +00:00
enami
c1b54794fc
Add missing `cnt++'.
2000-03-07 03:37:39 +00:00
enami
7ce8a9f46b
Also, fix indentation in previous commit.
2000-03-07 03:34:52 +00:00
oster
7c57ac56d7
Cleanup a couple of function declarations. No functional changes.
2000-03-07 03:09:47 +00:00
oster
51ffb0924c
Create a new rf_close_component() to handle vnode operations for closing
...
components. Teach rf_UnconfigureVnodes() how to use it, and tell
the copyback and reconstruction code about it too.
2000-03-07 02:59:50 +00:00
oster
ddebc1cad0
Move rf_UnconfigureVnodes to rf_netbsdkintf.c where it will be more at home.
...
Add prototype to rf_kintf.h, and nuke old prototypes from rf_disks.c and
rf_driver.c .
2000-03-07 02:28:05 +00:00
oster
33a55d022b
rf_ protect the component label print routine, and make it more easily
...
available to the rest of RAIDframe.
2000-03-07 02:12:13 +00:00
oster
dbf5d1f7a6
Nuke unused code.
2000-03-07 01:54:29 +00:00
soren
dfaacf6eab
Fix bug in previous.
2000-03-07 01:08:55 +00:00
thorpej
8f8714687b
Reenable the code that clears SLEEP and SNOOZE from the CFDA register.
2000-03-07 01:08:47 +00:00
soren
6cc1408bca
Only print SROM size if TLP_DEBUG.
2000-03-07 01:06:12 +00:00
soren
2f1aff2da3
Garbage collect MIPS_SR_INT_ENAB/MIPS_SR_INT_ENA_CUR definitions.
2000-03-07 01:05:48 +00:00
mycroft
4887635a10
A few things:
...
* Take advantage of the tulip_read_srom() changes.
* Don't frob the so-called `CFDA' register. We're really looking for the
PMCSR, which is in a different location anyway.
* Don't panic if we detach an interface for which we never called tlp_attach().
2000-03-07 00:43:36 +00:00
mycroft
5eee9ca94c
Determine the size of the SROM by probing the chip using the standard Microwire
...
protocol. Eliminates the need for srom_quirks and some other trash.
2000-03-07 00:39:17 +00:00
mycroft
064b1bd2e9
Fix obvious typo.
2000-03-07 00:33:13 +00:00
mycroft
8b13d21260
Do a CARDBUS_BM_ENABLE to be sure.
2000-03-07 00:32:52 +00:00
mycroft
de8398315a
Fix an obvious bug that caused I/O space to never be freed.
...
Also, don't use rbus_space_free() directly.
2000-03-07 00:31:46 +00:00
mycroft
bcdcb370e5
Called the power function even for 5V cards. This at least gives the power
...
a chance to stabilize before we frob the card.
2000-03-07 00:30:57 +00:00