itojun
d926d6fa47
#if 0'ed undo code for interface address addition failure.
...
it was a bit too strong, and forbids multiple addresses from
same prefix to be assigned.
now the behavior is the same as previous - memory leak on interface address
addition failure.
http://orange.kame.net/dev/query-pr.cgi?pr=218
2000-03-18 02:41:58 +00:00
tron
e86957458a
Install "machineendian_machdep.h".
2000-03-17 22:36:31 +00:00
augustss
670d533d54
Keep the bit position even when the report descriptor says POP.
2000-03-17 18:09:17 +00:00
tron
8caeaa49bd
Install "endian_machdep.h" required for "sys/endian.h".
2000-03-17 17:22:57 +00:00
soren
d07596ff64
Allow mips endian_machdep.h to see _LITTLE_ENDIAN and _BIG_ENDIAN.
2000-03-17 11:47:43 +00:00
soren
11bd453515
scsiprint() is needed even without scsibus'es, so move it to scsi_base.c .
2000-03-17 11:45:49 +00:00
soren
bd1cc85c63
Use a kvtophys() hack for mips like for alpha. No idea if it actually works..
2000-03-17 11:30:14 +00:00
soren
82ad0bf745
atapiprint() does not exist.
2000-03-17 11:23:23 +00:00
sato
2b251ae99b
change about debug print.
2000-03-17 09:54:15 +00:00
bouyer
5c0cae7a28
Fix botched merge in previous.
2000-03-17 09:25:22 +00:00
bouyer
0bf221f2d9
- remove leftovers of FreeBSD code in #if 0/#endif
...
- fix a bug in ti_encap() where a NULL pointer could be used if we run out
of tx descriptors (return ENOMEM instead, and let the caller assert OACTIVE)
- sync boot messages with NetBSD's pci standart (print ti_name and irq
line)
- add a shutdown hook to stop the board, so that the board will not DMA at
random places while we're rebooting
- convert all but TIGON 1 transmit descriptors to use bus_space
(this last one isn't trivial to get rigth and I don't have the hardware to
test)
- If we can't map the mem space linar, retry to map it nolinear. Punt if
we couldn't map the mem space linear and we found a Tigon 1 chip.
With these changes a Tigon 2 board (netgear BA620 at last) can be used in
my DS20.
2000-03-17 09:20:16 +00:00
scottr
0a23aef85e
Resurrect a chunk of code from the ite driver that we lost along the way.
...
This code is necessary for SE/30 internal video, at a minimum.
2000-03-17 04:46:32 +00:00
fvdl
512503c606
If we're reclaiming, and there are no dirty blocks, just return.
2000-03-17 01:26:52 +00:00
fvdl
c3167b9545
Do previous better. Use FSYNC_RECLAIM as it was before.
2000-03-17 01:25:06 +00:00
mycroft
edf942a988
In the `MY THAT'S GROSS' department:
...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:10:24 +00:00
mycroft
9e21b6555a
In the `MY THAT'S GROSS' department...
...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
darrenr
08227b6c88
build stkbuf out of u_long rather than char for sys_ioctl() to ensure we get an aligned array
2000-03-17 00:01:48 +00:00
thorpej
93eb82ff2f
Recognize the Intel InBusiness.
2000-03-16 23:41:40 +00:00
thorpej
56460ec830
Regen.
2000-03-16 23:41:30 +00:00
thorpej
3f182de5c6
Add product ID for the Intel InBusiness 10/100 Ethernet adapter (which
...
is an i82559 with a different product ID).
2000-03-16 23:36:44 +00:00
darrenr
162b0b1dab
__P(()) -> __P((void))
2000-03-16 23:21:05 +00:00
augustss
cdc4484e47
Regen.
2000-03-16 21:51:45 +00:00
augustss
94f5fe4392
Add Altec ADA70 speakers and have them recognized despite announcing an
...
old rev of the USB audio spec.
2000-03-16 21:51:23 +00:00
jdolecek
88b591be30
Adapt to last VFS changes - add appropriate vfs_done routine.
2000-03-16 19:00:26 +00:00
jdolecek
139fcd8227
Bump kernel version to 1.4V - VFS op vfs_done added
2000-03-16 18:32:23 +00:00
uch
34329d9139
regen.
2000-03-16 18:28:11 +00:00
uch
348fff03fb
add I/O DATA USB-ET/TX USB ethernet adapter.
2000-03-16 18:27:21 +00:00
jdolecek
67d0de97b6
Change ufs_init() to keep global count of how many times it was called.
...
Resources are initialized still just once (on first call).
Add ufs_done(), which takes care of freeing all resources allocated in
ufs_init(). The resources are freed only when last user of the code exits.
2000-03-16 18:26:49 +00:00
jdolecek
03efc0b2b7
Add new VFS op routine - vfs_done and call it on filesystem detach
...
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading.
For each leaf filesystem, add appropriate vfs_done routine.
Also remember how many times ffs_init() was called and do
the appropriate initialization on first call only. In ffs_done(),
destroy the resources when called by the last user of ffs code.
Change mfs to call ffs_init()/ffs_done() appropriately.
2000-03-16 18:20:06 +00:00
jdolecek
89015c4648
Add new VFS op routine - vfs_done and call it on filesystem detach
...
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.
For each leaf filesystem, add appropriate vfs_done routine.
2000-03-16 18:08:17 +00:00
jdolecek
677d6a9962
add hashdone() - frees memory previously allocated via hashinit()
2000-03-16 17:19:53 +00:00
onoe
9eb76252d0
Regen.
2000-03-16 16:48:59 +00:00
onoe
8a8e062c16
cards for if_awi:
...
Add AirSurfer Pro
Change the name for AMD Am79C930. The same CIS strings are used
both for Melco WLI-PCM and NTT-EL SS Magic.
2000-03-16 16:38:41 +00:00
kleink
8bc084e1de
Kill more broken cf_unit bogons.
2000-03-16 16:37:20 +00:00
ad
afaa5767a3
Match shutdown msg with that of cac.c.
2000-03-16 15:13:05 +00:00
ad
534da504b9
Cosmetic change.
2000-03-16 15:09:59 +00:00
mycroft
02905321b2
Foolish consistency. Mainly, always use underscores and sys/endian.h.
2000-03-16 15:09:34 +00:00
ad
a81a812b50
Remove unneeded field in 'struct cac_ccb'.
2000-03-16 15:07:22 +00:00
ad
ce0c2b1962
Attach cac* at pci?, ca* at cac?. Commented out where needs be.
2000-03-16 15:05:18 +00:00
ad
d8bd9a762a
Make ca(4) useable as a block/boot device.
2000-03-16 14:53:29 +00:00
ad
70063dc527
Driver for Compaq array controllers and disks (cac(4)/ca(4)).
2000-03-16 14:52:22 +00:00
mycroft
415cbeb83f
This code has nothing to do with UCB.
2000-03-16 14:15:26 +00:00
tsutsui
6e0e3d609f
Replace LE() macro with le32toh()/le32toh().
2000-03-16 12:40:51 +00:00
fvdl
1c78f3708b
Inititalize the fs variable struct a little earlier to avoid referencing
...
a bad pointer in a printf. Problem reported by Krister Walfridsson.
2000-03-16 10:37:00 +00:00
fvdl
1a774a9979
Set bus_intr to ahc_pci_intr.
2000-03-16 10:34:33 +00:00
fvdl
f44ddd61a9
Do bus-specific interrupt handling (i.e. ahc_pci_intr) via a bus_intr
...
field in the softc, instead of relying on NPCI > 0. This would
prevent things from compiling if PCI buses were in the config file,
but ahc was attached only to something else than the PCI bus.
2000-03-16 10:33:45 +00:00
nisimura
f7f5e0a24c
Note that HX (PMAGB-B) has no support for small (less than 8 pixel width)
...
font. If attempted, kernel will explode.
2000-03-16 08:42:40 +00:00
nisimura
f52c9620bc
Place 34 by 80 console at the center of screen.
2000-03-16 05:50:57 +00:00
nisimura
0b765ee6f8
Retain rendering performance lossage by rasops, but suffering
...
flexibility in turn; this renderer is 2B stroke (less than 16 pixel
width) font only. If 1B stroke (less than 8 pixel width) font is
ever supported, the font data should be converted into 2B stroke
during font initialization process. 'wsfont_realize()' is to be
proposed in order to have 'CPU and/or accelerator hardware friendly'
format to squeeze maxinum performance.
2000-03-16 05:48:28 +00:00
enami
8fa8b77325
Sync disklabel.5 with disklabel.h and dkio.h more closely.
2000-03-16 05:16:19 +00:00
enami
172410a85d
s/alternate/alternative/ from rev. 1.5 of disklabel.5.
2000-03-16 04:58:35 +00:00
enami
aa8b5ebd93
On initialization failure, free all the storage allocated to store
...
component pathnames rather than the last one.
2000-03-16 03:54:01 +00:00
enami
5336e37153
Make this file just compiles again.
...
XXX Don't expect to work yet. It fails even to link depending on your
XXX kernel config file.
2000-03-16 03:06:51 +00:00
thorpej
2ac45d6eef
Quiet down the DAD messages a little more.
2000-03-16 02:53:45 +00:00
eeh
3b51289caa
Revamp interrupts again:
...
Fix a bug causing interrmittent panics in interrupt dispatch.
Use interrupt vectors for softints.
Add a new send_softint interface.
Improved D$ flushing.
Improve traptrace and other debugging enhancements.
2000-03-16 02:36:56 +00:00
shin
6190c3253f
add 'makeoptions CWARNFLAGS=""' to override CWARNFLAGS?= -Werror.
2000-03-16 01:45:51 +00:00
augustss
c99c03da4d
Make the USB event queue longer. Mine overflows before the (user-land)
...
event handler has started. But then I have about 25 devices connected. :)
2000-03-16 00:46:38 +00:00
augustss
1a9f0619fd
Fix thinko in the handling of FORCE_SHORT_XFER so that it actually
...
transfers a 0 length package instead on munging the whole transfer.
The aue driver works now.
2000-03-16 00:41:50 +00:00
augustss
f9fd27ea3c
Fix an uninitialized variable. From Krister Walfridsson <cato@df.lth.se>
2000-03-15 22:41:29 +00:00
augustss
499e5cba01
Fix some uninitialized variables. From Krister Walfridsson <cato@df.lth.se>
2000-03-15 22:40:30 +00:00
kleink
1634305526
Kill a couple of unnecessary cf_unit (ab)uses.
2000-03-15 20:40:00 +00:00
thorpej
411a31adb2
- Go to splimp() when sending the rtsock message regarding link status.
...
- Would like to notify protocols if a link goes up or down, to e.g.
restart Duplicate Address Detection, etc. Add a comment to this
effect.
2000-03-15 20:34:43 +00:00
thorpej
c38405d33d
Add power management support to the `tlp' driver. The battery on my
...
laptop lasts a whole lot longer now.
2000-03-15 18:39:50 +00:00
soren
b4e10b0a4e
s/md/raid/ for RAIDframe major name.
2000-03-15 17:08:37 +00:00
oster
36b9d60244
Add the RAIDframe device major to the machine-dependent config files
...
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Missed these yesterday.. Thanks to Izumi Tsutsui for noticing, and for
letting me know :) )
2000-03-15 16:57:12 +00:00
drochner
aa1de89bdf
explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
...
prototype
2000-03-15 16:44:48 +00:00
fvdl
e3dbad5a3c
Revert this back to 2 revisions ago, these checks are done higher up now.
2000-03-15 16:31:52 +00:00
fvdl
14cbd3e2b0
In fdatasync, do not call bioops.io_fsync, since we're not flushing
...
metadata. If you do call it, there's actually a fair chance that it
will panic because its metadata dependencies were not cleared in
the VOP_FSYNC above (with FSYNC_DATAONLY).
2000-03-15 16:30:39 +00:00
fvdl
01db605567
Do the previous slightly different: any files on MNT_SOFTDEP filesystems do
...
not want all their metadata dependencies flushed from vinvalbuf() if
there are no dirty blocks.
2000-03-15 16:28:45 +00:00
fvdl
73797e6d2a
Stupid hack: run the apm kthread at 8*hz/7 intervals, not hz. Prevents
...
the load average from being 1.0 or higher constantly.
XXX really need a better way of calculating the load average.
2000-03-15 09:30:11 +00:00
sommerfeld
fbc4dbb7ac
Catch up to rearranged aic7*.h files
2000-03-15 07:17:06 +00:00
nisimura
220005d941
Eliminate unused sc_cookie field of struct ioasic_softc.
2000-03-15 03:07:44 +00:00
fvdl
14620f1eee
PCI frontend for new ahc driver.
2000-03-15 02:33:52 +00:00
fvdl
20b063e782
Add new files for common ahc EISA/VL code.
2000-03-15 02:10:41 +00:00
fvdl
bacabba843
Add new files for common VL/EISA ahc code.
2000-03-15 02:10:09 +00:00
fvdl
1e4647a15b
New ahc driver, a port of Justin Gibbs' FreeBSD driver. This adds
...
support for the U2W chips, and U160 controllers.
2000-03-15 02:08:28 +00:00
fvdl
085f68836e
Common code for EISA and VL frontends for the ahc driver, split off
...
by Noriyuki Soda when updating for the new ahc driver.
2000-03-15 02:06:18 +00:00
fvdl
bb8265c6be
Update ISA/VL frontend for new ahc driver (done by Noriyuki Soda).
2000-03-15 02:05:19 +00:00
fvdl
7df6153163
Update EISA frontend for new ahc driver (done by Noriyuki Soda).
2000-03-15 02:04:43 +00:00
fvdl
2da1f00fcd
Update cardbus frontend for new ahc driver.
2000-03-15 02:03:51 +00:00
fvdl
46eb4f1451
Add SLIST.
2000-03-15 02:03:11 +00:00
fvdl
d025f5705e
Add a couple of defines/aliases for messages.
2000-03-15 02:02:37 +00:00
haya
b6f22443bb
Remove ancient code.
2000-03-15 00:38:40 +00:00
augustss
1e1f1f3b3b
Make sure the USB event thread discovers all devices first time it call
...
usb_discover().
It should now be possible to have the root NFS mounted over a USB Ethernet
adapter.
2000-03-14 23:13:12 +00:00
augustss
072f9f5b69
Some whitespace changes.
2000-03-14 22:37:55 +00:00
jdc
e8a33a63d1
Add port power management ioctls.
2000-03-14 21:24:54 +00:00
jdc
48ba774212
Fix RCS ID.
...
Add port power management.
2000-03-14 21:23:45 +00:00
jdc
797ac20035
Add power management hooks.
2000-03-14 21:20:51 +00:00
jdc
fa4417ef0c
Add enable/disable and power management hooks for serial ports.
...
Port states : always on / on when open (default) / always off
2000-03-14 21:18:27 +00:00
kleink
e2a9e82243
Add a descriptive comment to previous.
2000-03-14 19:16:03 +00:00
oster
1bad2e1909
Add the RAIDframe device major to the machine-dependent config files
...
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
2000-03-14 15:56:51 +00:00
soren
667929def5
KNF comment.
2000-03-14 14:11:06 +00:00
soren
9ec86df3dd
Fix typo.
2000-03-14 14:10:08 +00:00
soren
eb9d73ce81
Actually use KSEG1 offset for KSEG1 addresses in kvtophys().
...
From Jeff Smith and Ethan Solomita at Geocast.
2000-03-14 14:08:55 +00:00
fvdl
563d336e44
Don't immediately return in ffs_fsync if there appears to be no data
...
to flush if it's a vnode on a softdep filesystem. softdep_sync_metadata
may still need to do some work.
2000-03-14 13:06:29 +00:00
enami
60ed7cfb2b
Simplify the code a bit.
2000-03-14 10:26:10 +00:00
enami
70b8e188ee
Don't think that a card is inserted if there is a card already in the slot.
...
Note that powerdown hook calls pccbbintr so that it detect card insertion or
removal during suspension.
2000-03-14 10:23:16 +00:00
enami
d454505125
Cosmetic change.
2000-03-14 10:20:09 +00:00
sato
0a00ace3f7
some buttuns map to key codes which the button mean.
2000-03-14 08:37:31 +00:00
uch
6219354e8c
sync with fb->hpcfb, btnmgr changes.
2000-03-14 08:31:07 +00:00