Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/kqueue]: src/sys sync kqueue with -current; this includes merge of gehen...
details: https://anonhg.NetBSD.org/src/rev/23f8721e4374
branches: kqueue
changeset: 512545:23f8721e4374
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Oct 10 18:40:07 2002 +0000
description:
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
diffstat:
sys/dev/mii/gentbi.c | 10 +-
sys/dev/mii/glxtphy.c | 10 +-
sys/dev/mii/gphyter.c | 10 +-
sys/dev/mii/icsphy.c | 10 +-
sys/dev/mii/inphy.c | 10 +-
sys/dev/mii/iophy.c | 10 +-
sys/dev/mii/lxtphy.c | 10 +-
sys/dev/mii/makphy.c | 10 +-
sys/dev/mii/mii.c | 8 +-
sys/dev/mii/miivar.h | 4 +-
sys/dev/mii/nsphy.c | 10 +-
sys/dev/mii/nsphyter.c | 10 +-
sys/dev/mii/pnaphy.c | 10 +-
sys/dev/mii/qsphy.c | 10 +-
sys/dev/mii/sqphy.c | 15 +-
sys/dev/mii/tlphy.c | 10 +-
sys/dev/mii/tqphy.c | 10 +-
sys/dev/mii/ukphy.c | 10 +-
sys/dev/mii/urlphy.c | 12 +-
sys/dev/mscp/mscp_disk.c | 98 +-
sys/dev/mscp/mscp_subr.c | 9 +-
sys/dev/mscp/mscp_tape.c | 42 +-
sys/dev/mvme/clmpcc_pcctwo.c | 285 ++++++
sys/dev/mvme/clock_pcctwo.c | 254 +++++
sys/dev/mvme/clockvar.h | 90 ++
sys/dev/mvme/files.mvme | 50 +
sys/dev/mvme/if_ie_mvme.c | 351 +++++++
sys/dev/mvme/if_iereg.h | 64 +
sys/dev/mvme/lpt_mvme.c | 398 ++++++++
sys/dev/mvme/lpt_pcctwo.c | 293 ++++++
sys/dev/mvme/lptvar.h | 95 ++
sys/dev/mvme/memc.c | 640 ++++++++++++++
sys/dev/mvme/memcreg.h | 177 +++
sys/dev/mvme/memcvar.h | 69 +
sys/dev/mvme/mvmebus.c | 961 +++++++++++++++++++++
sys/dev/mvme/mvmebus.h | 161 +++
sys/dev/mvme/osiop_pcctwo.c | 189 ++++
sys/dev/mvme/pcctwo.c | 204 ++++
sys/dev/mvme/pcctworeg.h | 316 +++++++
sys/dev/mvme/pcctwovar.h | 103 ++
sys/dev/mvme/vme_two.c | 353 +++++++
sys/dev/mvme/vme_two_isr.c | 432 +++++++++
sys/dev/mvme/vme_tworeg.h | 526 +++++++++++
sys/dev/mvme/vme_twovar.h | 80 +
sys/dev/ofisa/com_ofisa.c | 9 +-
sys/dev/ofisa/ess_ofisa.c | 9 +-
sys/dev/ofisa/if_cs_ofisa.c | 9 +-
sys/dev/ofisa/joy_ofisa.c | 9 +-
sys/dev/ofisa/lpt_ofisa.c | 9 +-
sys/dev/ofisa/ofisa.c | 9 +-
sys/dev/ofisa/pckbc_ofisa.c | 9 +-
sys/dev/ofisa/sb_ofisa.c | 9 +-
sys/dev/ofisa/wdc_ofisa.c | 9 +-
sys/dev/ofw/files.ofw | 4 +-
sys/dev/ofw/ofbus.c | 32 +-
sys/dev/ofw/ofcons.c | 34 +-
sys/dev/ofw/ofdisk.c | 39 +-
sys/dev/ofw/ofnet.c | 26 +-
sys/dev/ofw/ofrtc.c | 27 +-
sys/dev/ofw/openfirm.h | 10 +-
sys/dev/ofw/openfirmio.c | 25 +-
sys/dev/ofw/openfirmio.h | 8 +-
sys/dev/pci/aac_pci.c | 9 +-
sys/dev/pci/adv_pci.c | 10 +-
sys/dev/pci/adw_pci.c | 10 +-
sys/dev/pci/agp.c | 22 +-
sys/dev/pci/ahc_pci.c | 9 +-
sys/dev/pci/amdpm.c | 9 +-
sys/dev/pci/amr.c | 11 +-
sys/dev/pci/auich.c | 9 +-
sys/dev/pci/autri.c | 7 +-
sys/dev/pci/auvia.c | 13 +-
sys/dev/pci/bha_pci.c | 9 +-
sys/dev/pci/bktr/bktr_os.c | 24 +-
sys/dev/pci/btvmei.c | 14 +-
sys/dev/pci/btvmeii.c | 12 +-
sys/dev/pci/cac_pci.c | 9 +-
sys/dev/pci/cmpci.c | 9 +-
sys/dev/pci/com_puc.c | 9 +-
sys/dev/pci/cs4280.c | 9 +-
sys/dev/pci/cs4281.c | 9 +-
sys/dev/pci/cy_pci.c | 9 +-
sys/dev/pci/cz.c | 44 +-
sys/dev/pci/dpt_pci.c | 9 +-
sys/dev/pci/eap.c | 9 +-
sys/dev/pci/ehci_pci.c | 10 +-
sys/dev/pci/emuxki.c | 13 +-
sys/dev/pci/esa.c | 8 +-
sys/dev/pci/esiop_pci.c | 9 +-
sys/dev/pci/esm.c | 9 +-
sys/dev/pci/eso.c | 9 +-
sys/dev/pci/files.pci | 15 +-
sys/dev/pci/fms.c | 13 +-
sys/dev/pci/fwlynx_pci.c | 10 +-
sys/dev/pci/fwohci_pci.c | 12 +-
sys/dev/pci/gtp.c | 7 +-
sys/dev/pci/hifn7751.c | 9 +-
sys/dev/pci/i82365_pci.c | 9 +-
sys/dev/pci/icp_pci.c | 9 +-
sys/dev/pci/if_an_pci.c | 9 +-
sys/dev/pci/if_bge.c | 7 +-
sys/dev/pci/if_de.c | 15 +-
sys/dev/pci/if_devar.h | 3 +-
sys/dev/pci/if_en_pci.c | 9 +-
sys/dev/pci/if_ep_pci.c | 9 +-
sys/dev/pci/if_epic_pci.c | 9 +-
sys/dev/pci/if_esh_pci.c | 9 +-
sys/dev/pci/if_ex_pci.c | 9 +-
sys/dev/pci/if_fpa.c | 10 +-
sys/dev/pci/if_fxp_pci.c | 22 +-
sys/dev/pci/if_gem_pci.c | 9 +-
sys/dev/pci/if_hme_pci.c | 9 +-
sys/dev/pci/if_le_pci.c | 9 +-
sys/dev/pci/if_lmc_nbsd.c | 9 +-
sys/dev/pci/if_lmcvar.h | 3 +-
sys/dev/pci/if_ne_pci.c | 9 +-
sys/dev/pci/if_ntwoc_pci.c | 9 +-
sys/dev/pci/if_pcn.c | 23 +-
sys/dev/pci/if_pcnreg.h | 3 +-
sys/dev/pci/if_rtk_pci.c | 9 +-
sys/dev/pci/if_sf_pci.c | 9 +-
sys/dev/pci/if_sip.c | 14 +-
sys/dev/pci/if_ste.c | 9 +-
sys/dev/pci/if_stge.c | 9 +-
sys/dev/pci/if_ti.c | 9 +-
sys/dev/pci/if_tl.c | 11 +-
sys/dev/pci/if_tlp_pci.c | 9 +-
sys/dev/pci/if_vr.c | 9 +-
sys/dev/pci/if_wi_pci.c | 38 +-
sys/dev/pci/if_wm.c | 7 +-
sys/dev/pci/ifpci.c | 14 +-
sys/dev/pci/igsfb_pci.c | 54 +-
sys/dev/pci/iha_pci.c | 9 +-
sys/dev/pci/iop_pci.c | 9 +-
sys/dev/pci/isic_pci.c | 11 +-
sys/dev/pci/isp_pci.c | 9 +-
sys/dev/pci/iwic_bchan.c | 765 +++++++++++++++++
sys/dev/pci/iwic_dchan.c | 462 ++++++++++
sys/dev/pci/iwic_fsm.c | 226 +++++
sys/dev/pci/iwic_pci.c | 443 +++++++++
sys/dev/pci/iwicreg.h | 264 +++++
sys/dev/pci/iwicvar.h | 200 ++++
sys/dev/pci/joy_eso.c | 7 +-
sys/dev/pci/joy_pci.c | 9 +-
sys/dev/pci/ld_amr.c | 9 +-
sys/dev/pci/ld_twe.c | 9 +-
sys/dev/pci/lpt_puc.c | 9 +-
sys/dev/pci/mlx_pci.c | 9 +-
sys/dev/pci/mly.c | 18 +-
sys/dev/pci/mpu_cmpci.c | 9 +-
sys/dev/pci/mpu_eso.c | 9 +-
sys/dev/pci/mpu_fms.c | 9 +-
sys/dev/pci/mpu_yds.c | 9 +-
sys/dev/pci/neo.c | 9 +-
sys/dev/pci/oboe.c | 8 +-
sys/dev/pci/ohci_pci.c | 10 +-
sys/dev/pci/opl_cmpci.c | 9 +-
sys/dev/pci/opl_eso.c | 9 +-
sys/dev/pci/opl_fms.c | 9 +-
sys/dev/pci/opl_sv.c | 9 +-
sys/dev/pci/opl_yds.c | 9 +-
sys/dev/pci/pccbb.c | 85 +-
sys/dev/pci/pccbbvar.h | 6 +-
sys/dev/pci/pci.c | 13 +-
sys/dev/pci/pci_subr.c | 168 ++-
sys/dev/pci/pci_usrreq.c | 20 +-
sys/dev/pci/pciconf.h | 4 +-
sys/dev/pci/pcidevs | 28 +-
sys/dev/pci/pcidevs.h | 18 +-
sys/dev/pci/pcidevs_data.h | 64 +-
sys/dev/pci/pciide.c | 14 +-
sys/dev/pci/pcireg.h | 11 +-
sys/dev/pci/pcscp.c | 9 +-
sys/dev/pci/ppb.c | 9 +-
sys/dev/pci/puc.c | 11 +-
sys/dev/pci/siop_pci.c | 9 +-
sys/dev/pci/sv.c | 9 +-
sys/dev/pci/tga.c | 146 +-
sys/dev/pci/trm.c | 9 +-
sys/dev/pci/twe.c | 11 +-
sys/dev/pci/uhci_pci.c | 10 +-
sys/dev/pci/vga_pci.c | 11 +-
sys/dev/pci/viaenv.c | 9 +-
sys/dev/pci/viapm.c | 11 +-
sys/dev/pci/weasel_pci.c | 9 +-
sys/dev/pci/yds.c | 9 +-
sys/dev/pckbc/pckbd.c | 9 +-
sys/dev/pckbc/pms.c | 22 +-
sys/dev/pcmcia/aic_pcmcia.c | 10 +-
sys/dev/pcmcia/com_pcmcia.c | 10 +-
sys/dev/pcmcia/esl_pcmcia.c | 10 +-
sys/dev/pcmcia/esp_pcmcia.c | 10 +-
sys/dev/pcmcia/fdc_pcmcia.c | 10 +-
sys/dev/pcmcia/if_an_pcmcia.c | 10 +-
sys/dev/pcmcia/if_awi_pcmcia.c | 10 +-
sys/dev/pcmcia/if_cnw.c | 11 +-
sys/dev/pcmcia/if_cs_pcmcia.c | 13 +-
sys/dev/pcmcia/if_ep_pcmcia.c | 10 +-
sys/dev/pcmcia/if_mbe_pcmcia.c | 10 +-
sys/dev/pcmcia/if_ne_pcmcia.c | 16 +-
sys/dev/pcmcia/if_ray.c | 11 +-
sys/dev/pcmcia/if_sm_pcmcia.c | 10 +-
sys/dev/pcmcia/if_tr_pcmcia.c | 13 +-
sys/dev/pcmcia/if_wi_pcmcia.c | 16 +-
sys/dev/pcmcia/if_xi.c | 25 +-
sys/dev/pcmcia/isic_pcmcia.c | 9 +-
sys/dev/pcmcia/mhzc.c | 22 +-
sys/dev/pcmcia/nca_pcmcia.c | 10 +-
sys/dev/pcmcia/opl_esl.c | 10 +-
sys/dev/pcmcia/pcmcia.c | 13 +-
sys/dev/pcmcia/pcmciadevs | 5 +-
sys/dev/pcmcia/pcmciadevs.h | 11 +-
sys/dev/pcmcia/pcmciadevs_data.h | 26 +-
sys/dev/pcmcia/pcmcom.c | 18 +-
sys/dev/pcmcia/wdc_pcmcia.c | 10 +-
sys/dev/podulebus/acemidi.c | 14 +-
sys/dev/podulebus/dtide.c | 9 +-
sys/dev/podulebus/hcide.c | 9 +-
sys/dev/podulebus/hcsc.c | 9 +-
sys/dev/podulebus/if_ea.c | 9 +-
sys/dev/podulebus/if_eb.c | 9 +-
sys/dev/podulebus/if_ei.c | 9 +-
sys/dev/podulebus/oak.c | 9 +-
sys/dev/qbus/dhu.c | 25 +-
sys/dev/qbus/dl.c | 23 +-
sys/dev/qbus/dz_uba.c | 12 +-
sys/dev/qbus/if_de.c | 9 +-
sys/dev/qbus/if_dmc.c | 9 +-
sys/dev/qbus/if_il.c | 9 +-
sys/dev/qbus/if_qe.c | 11 +-
sys/dev/qbus/qd.c | 36 +-
sys/dev/qbus/qdreg.h | 4 +-
sys/dev/qbus/rl.c | 36 +-
sys/dev/qbus/ts.c | 26 +-
sys/dev/qbus/uba.c | 9 +-
sys/dev/qbus/uda.c | 16 +-
sys/dev/raidframe/rf_acctrace.c | 32 +-
sys/dev/raidframe/rf_acctrace.h | 3 +-
sys/dev/raidframe/rf_alloclist.c | 18 +-
sys/dev/raidframe/rf_alloclist.h | 10 +-
sys/dev/raidframe/rf_archs.h | 30 +-
sys/dev/raidframe/rf_callback.c | 7 +-
sys/dev/raidframe/rf_chaindecluster.c | 5 +-
sys/dev/raidframe/rf_copyback.c | 15 +-
sys/dev/raidframe/rf_cvscan.c | 17 +-
sys/dev/raidframe/rf_cvscan.h | 3 +-
sys/dev/raidframe/rf_dag.h | 16 +-
sys/dev/raidframe/rf_dagffrd.c | 7 +-
sys/dev/raidframe/rf_dagffwr.c | 7 +-
sys/dev/raidframe/rf_dagfuncs.c | 24 +-
sys/dev/raidframe/rf_dagutils.c | 30 +-
sys/dev/raidframe/rf_dagutils.h | 98 +-
sys/dev/raidframe/rf_debugMem.c | 24 +-
sys/dev/raidframe/rf_debugMem.h | 21 +-
sys/dev/raidframe/rf_decluster.c | 14 +-
sys/dev/raidframe/rf_declusterPQ.c | 5 +-
sys/dev/raidframe/rf_desc.h | 9 +-
sys/dev/raidframe/rf_diskqueue.c | 29 +-
sys/dev/raidframe/rf_diskqueue.h | 9 +-
sys/dev/raidframe/rf_disks.c | 9 +-
sys/dev/raidframe/rf_driver.c | 121 +-
sys/dev/raidframe/rf_driver.h | 5 +-
sys/dev/raidframe/rf_engine.c | 22 +-
sys/dev/raidframe/rf_evenodd.c | 11 +-
sys/dev/raidframe/rf_fifo.c | 8 +-
sys/dev/raidframe/rf_general.h | 6 +-
sys/dev/raidframe/rf_interdecluster.c | 5 +-
sys/dev/raidframe/rf_layout.c | 5 +-
sys/dev/raidframe/rf_layout.h | 4 +-
sys/dev/raidframe/rf_map.c | 135 +-
sys/dev/raidframe/rf_map.h | 6 +-
sys/dev/raidframe/rf_mcpair.c | 13 +-
sys/dev/raidframe/rf_netbsdkintf.c | 199 ++--
sys/dev/raidframe/rf_paritylog.c | 7 +-
sys/dev/raidframe/rf_paritylogDiskMgr.c | 6 +-
sys/dev/raidframe/rf_paritylogging.c | 33 +-
sys/dev/raidframe/rf_parityscan.c | 24 +-
sys/dev/raidframe/rf_psstatus.c | 18 +-
sys/dev/raidframe/rf_raid0.c | 5 +-
sys/dev/raidframe/rf_raid1.c | 32 +-
sys/dev/raidframe/rf_raid4.c | 5 +-
sys/dev/raidframe/rf_raid5.c | 5 +-
sys/dev/raidframe/rf_raid5_rotatedspare.c | 5 +-
sys/dev/raidframe/rf_reconbuffer.c | 56 +-
sys/dev/raidframe/rf_reconbuffer.h | 6 +-
sys/dev/raidframe/rf_reconmap.c | 14 +-
sys/dev/raidframe/rf_reconstruct.c | 108 +-
sys/dev/raidframe/rf_reconstruct.h | 7 +-
sys/dev/raidframe/rf_reconutil.c | 23 +-
sys/dev/raidframe/rf_revent.c | 7 +-
sys/dev/raidframe/rf_revent.h | 17 +-
sys/dev/raidframe/rf_shutdown.c | 18 +-
sys/dev/raidframe/rf_sstf.c | 22 +-
sys/dev/raidframe/rf_states.c | 19 +-
sys/dev/raidframe/rf_stripelocks.c | 61 +-
sys/dev/raidframe/rf_threadstuff.c | 13 +-
sys/dev/raidframe/rf_threadstuff.h | 6 +-
sys/dev/raidframe/rf_utils.c | 8 +-
sys/dev/rasops/rasops.c | 8 +-
sys/dev/rasops/rasops24.c | 6 +-
sys/dev/sbus/be.c | 11 +-
sys/dev/sbus/bpp.c | 33 +-
sys/dev/sbus/bwtwo_sbus.c | 12 +-
sys/dev/sbus/cgsix_sbus.c | 12 +-
sys/dev/sbus/cgthree_sbus.c | 12 +-
sys/dev/sbus/cs4231_sbus.c | 11 +-
sys/dev/sbus/dma_sbus.c | 18 +-
sys/dev/sbus/esp_sbus.c | 20 +-
sys/dev/sbus/files.sbus | 6 +-
sys/dev/sbus/if_en.c | 9 +-
sys/dev/sbus/if_hme_sbus.c | 11 +-
sys/dev/sbus/if_le.c | 13 +-
sys/dev/sbus/if_le_lebuffer.c | 11 +-
sys/dev/sbus/if_le_ledma.c | 11 +-
sys/dev/sbus/isp_sbus.c | 15 +-
sys/dev/sbus/lebuffer.c | 11 +-
sys/dev/sbus/magma.c | 76 +-
sys/dev/sbus/magmareg.h | 3 +-
sys/dev/sbus/p9100.c | 64 +-
sys/dev/sbus/qe.c | 11 +-
sys/dev/sbus/qec.c | 11 +-
sys/dev/sbus/sbusvar.h | 3 +-
sys/dev/sbus/sio16.c | 23 +-
sys/dev/sbus/stp4020.c | 21 +-
sys/dev/sbus/tcx.c | 63 +-
sys/dev/sbus/xbox.c | 9 +-
sys/dev/sbus/zx.c | 939 +++++++++++++++++++++
sys/dev/sbus/zxreg.h | 269 ++++++
sys/dev/sbus/zxvar.h | 118 ++
sys/dev/scsipi/atapi_wdc.c | 6 +-
sys/dev/scsipi/atapiconf.c | 14 +-
sys/dev/scsipi/cd.c | 34 +-
sys/dev/scsipi/cd_atapi.c | 10 +-
sys/dev/scsipi/cd_scsi.c | 11 +-
sys/dev/scsipi/ch.c | 21 +-
sys/dev/scsipi/if_se.c | 20 +-
sys/dev/scsipi/scsiconf.c | 94 +-
sys/dev/scsipi/scsipi_base.c | 7 +-
sys/dev/scsipi/scsipiconf.h | 6 +-
sys/dev/scsipi/sd.c | 34 +-
sys/dev/scsipi/sd_atapi.c | 10 +-
sys/dev/scsipi/sd_scsi.c | 10 +-
sys/dev/scsipi/ses.c | 21 +-
sys/dev/scsipi/ss.c | 29 +-
sys/dev/scsipi/ss_scanjet.c | 41 +-
sys/dev/scsipi/st.c | 29 +-
sys/dev/scsipi/st_atapi.c | 10 +-
sys/dev/scsipi/st_scsi.c | 10 +-
sys/dev/scsipi/uk.c | 28 +-
sys/dev/sun/bt_subr.c | 6 +-
sys/dev/sun/bwtwo.c | 66 +-
sys/dev/sun/cgsix.c | 58 +-
sys/dev/sun/cgsixvar.h | 5 +-
sys/dev/sun/cgthree.c | 67 +-
sys/dev/sun/fb.c | 17 +-
sys/dev/sun/kbd.c | 29 +-
sys/dev/sun/kbd_zs.c | 9 +-
sys/dev/sun/ms.c | 29 +-
sys/dev/sun/ms_zs.c | 9 +-
sys/dev/sun/sunkbd.c | 22 +-
sys/dev/sun/sunms.c | 22 +-
sys/dev/sysmon/sysmon.c | 13 +-
sys/dev/tc/asc_tc.c | 9 +-
sys/dev/tc/asc_tcds.c | 10 +-
sys/dev/tc/bba.c | 9 +-
sys/dev/tc/cfb.c | 9 +-
sys/dev/tc/if_fta.c | 7 +-
sys/dev/tc/if_le_ioasic.c | 9 +-
sys/dev/tc/if_le_tc.c | 9 +-
sys/dev/tc/mfb.c | 9 +-
sys/dev/tc/px.c | 9 +-
sys/dev/tc/pxg.c | 9 +-
sys/dev/tc/sfb.c | 9 +-
sys/dev/tc/sfbplus.c | 9 +-
sys/dev/tc/stic.c | 21 +-
sys/dev/tc/tc.c | 14 +-
sys/dev/tc/tcds.c | 15 +-
sys/dev/tc/tfb.c | 9 +-
sys/dev/tc/xcfb.c | 9 +-
sys/dev/tc/zs_ioasic.c | 59 +-
sys/dev/tc/zs_ioasicvar.h | 3 +-
sys/dev/tc/zskbd.c | 9 +-
sys/dev/tc/zsms.c | 9 +-
sys/dev/usb/ehci.c | 16 +-
sys/dev/usb/if_aue.c | 5 +-
sys/dev/usb/if_url.c | 6 +-
sys/dev/usb/ohci.c | 38 +-
sys/dev/usb/ohcivar.h | 5 +-
sys/dev/usb/uaudioreg.h | 10 +-
sys/dev/usb/ucom.c | 25 +-
sys/dev/usb/uftdi.c | 5 +-
sys/dev/usb/ugen.c | 24 +-
sys/dev/usb/uhci.c | 24 +-
sys/dev/usb/uhcivar.h | 5 +-
sys/dev/usb/uhid.c | 22 +-
sys/dev/usb/uhidev.c | 5 +-
sys/dev/usb/uhub.c | 11 +-
sys/dev/usb/ukbd.c | 5 +-
sys/dev/usb/ulpt.c | 23 +-
sys/dev/usb/umass.c | 10 +-
sys/dev/usb/umass_quirks.c | 11 +-
sys/dev/usb/umass_scsipi.c | 6 +-
sys/dev/usb/umct.c | 5 +-
sys/dev/usb/umidivar.h | 4 +-
sys/dev/usb/umodem.c | 5 +-
sys/dev/usb/ums.c | 7 +-
sys/dev/usb/uplcom.c | 5 +-
sys/dev/usb/urio.c | 23 +-
sys/dev/usb/usb.c | 17 +-
sys/dev/usb/usb.h | 6 +-
sys/dev/usb/usb_port.h | 18 +-
sys/dev/usb/usb_subr.c | 6 +-
sys/dev/usb/usbdevs | 7 +-
sys/dev/usb/usbdevs.h | 9 +-
sys/dev/usb/usbdevs_data.h | 22 +-
sys/dev/usb/usbdi.c | 6 +-
sys/dev/usb/uscanner.c | 24 +-
sys/dev/usb/usscanner.c | 5 +-
sys/dev/usb/uvscom.c | 3 +-
sys/dev/vme/if_ie_vme.c | 9 +-
sys/dev/vme/sc_vme.c | 11 +-
sys/dev/vme/si.c | 13 +-
sys/dev/vme/vme.c | 17 +-
sys/dev/vme/xd.c | 36 +-
sys/dev/vme/xy.c | 37 +-
sys/dev/wscons/wsconsio.h | 18 +-
sys/dev/wscons/wsdisplay.c | 50 +-
sys/dev/wscons/wsdisplay_compat_usl.c | 7 +-
sys/dev/wscons/wsemul_sun.c | 6 +-
sys/dev/wscons/wsemul_vt100.c | 6 +-
sys/dev/wscons/wskbd.c | 28 +-
sys/dev/wscons/wsmouse.c | 26 +-
sys/dev/wscons/wsmux.c | 16 +-
sys/dev/wsfont/wsfont.c | 6 +-
sys/dev/wsfont/wsfontdev.c | 17 +-
sys/dev/xmi/bi_xmi.c | 10 +-
sys/filecorefs/filecore_mount.h | 6 +-
sys/filecorefs/filecore_vfsops.c | 18 +-
sys/fs/smbfs/smbfs_vfsops.c | 8 +-
sys/isofs/cd9660/cd9660_mount.h | 6 +-
sys/isofs/cd9660/cd9660_vfsops.c | 16 +-
sys/kern/exec_aout.c | 6 +-
sys/kern/exec_conf.c | 8 +-
sys/kern/exec_ecoff.c | 6 +-
sys/kern/exec_elf32.c | 12 +-
sys/kern/exec_macho.c | 8 +-
sys/kern/exec_script.c | 6 +-
sys/kern/init_main.c | 18 +-
sys/kern/init_sysent.c | 6 +-
sys/kern/kern_allocsys.c | 8 +-
sys/kern/kern_descrip.c | 13 +-
sys/kern/kern_event.c | 31 +-
sys/kern/kern_exec.c | 10 +-
sys/kern/kern_exit.c | 13 +-
sys/kern/kern_fork.c | 13 +-
sys/kern/kern_lkm.c | 126 +--
sys/kern/kern_lock.c | 41 +-
sys/kern/kern_malloc.c | 12 +-
sys/kern/kern_proc.c | 34 +-
sys/kern/kern_ras.c | 8 +-
sys/kern/kern_resource.c | 16 +-
sys/kern/kern_sig.c | 17 +-
sys/kern/kern_subr.c | 69 +-
sys/kern/kern_synch.c | 79 +-
sys/kern/kern_sysctl.c | 6 +-
sys/kern/kern_systrace.c | 15 +-
sys/kern/subr_autoconf.c | 378 +++++++-
sys/kern/subr_devsw.c | 455 ++++++++++
sys/kern/subr_extent.c | 40 +-
sys/kern/subr_log.c | 16 +-
sys/kern/subr_pool.c | 10 +-
sys/kern/subr_prop.c | 6 +-
sys/kern/subr_rmap.c | 226 -----
sys/kern/subr_userconf.c | 35 +-
sys/kern/syscalls.c | 6 +-
sys/kern/syscalls.master | 2 +-
sys/kern/tty.c | 32 +-
sys/kern/tty_conf.c | 16 +-
sys/kern/tty_pty.c | 49 +-
sys/kern/tty_tty.c | 16 +-
sys/kern/uipc_mbuf.c | 5 +-
sys/kern/uipc_socket2.c | 6 +-
sys/kern/uipc_syscalls.c | 8 +-
sys/kern/uipc_usrreq.c | 20 +-
sys/kern/vfs_bio.c | 35 +-
sys/kern/vfs_cache.c | 8 +-
sys/kern/vfs_init.c | 6 +-
sys/kern/vfs_lockf.c | 17 +-
sys/kern/vfs_subr.c | 39 +-
sys/kern/vfs_syscalls.c | 45 +-
sys/lib/libkern/__assert.c | 4 +-
sys/lib/libkern/arch/hppa/Makefile.inc | 4 +-
sys/lib/libkern/arch/m68k/Makefile.inc | 3 +-
sys/lib/libkern/arch/ns32k/Makefile.inc | 4 +-
sys/lib/libkern/arch/sh3/Makefile.inc | 8 +-
sys/lib/libkern/arch/sh3/movstr_i4.S | 72 +
sys/lib/libkern/arch/sh5/Makefile.inc | 4 +-
sys/lib/libkern/arch/sh5/sdivsi3.S | 8 +-
sys/lib/libkern/arch/sh5/udivsi3.S | 10 +-
sys/lib/libkern/arch/vax/Makefile.inc | 4 +-
sys/lib/libkern/ffs.c | 9 +-
sys/lib/libsa/arp.c | 4 +-
sys/lib/libsa/netif.c | 10 +-
sys/lib/libsa/tftp.c | 6 +-
sys/lkm/arch/mac68k/iwm/iwm_mod.c | 200 +---
sys/lkm/arch/mac68k/iwm/iwm_mod.h | 56 -
sys/lkm/netinet/if_ipl/mln_ipl.c | 28 +-
sys/lkm/vfs/coda/lkminit_vfs.c | 24 +-
sys/miscfs/fdesc/fdesc_vfsops.c | 6 +-
sys/miscfs/fdesc/fdesc_vnops.c | 26 +-
sys/miscfs/kernfs/kernfs_vfsops.c | 15 +-
sys/miscfs/nullfs/null_vfsops.c | 12 +-
sys/miscfs/nullfs/null_vnops.c | 6 +-
sys/miscfs/overlay/overlay_vfsops.c | 12 +-
sys/miscfs/portal/portal_vfsops.c | 12 +-
sys/miscfs/procfs/procfs.h | 5 +-
sys/miscfs/procfs/procfs_vfsops.c | 13 +-
sys/miscfs/specfs/spec_vnops.c | 121 +-
sys/miscfs/umapfs/umap_vfsops.c | 14 +-
sys/miscfs/union/union.h | 5 +-
sys/miscfs/union/union_vfsops.c | 12 +-
sys/miscfs/union/union_vnops.c | 12 +-
sys/msdosfs/msdosfs_vfsops.c | 19 +-
sys/msdosfs/msdosfs_vnops.c | 6 +-
sys/msdosfs/msdosfsmount.h | 6 +-
sys/net/bpf.c | 36 +-
sys/net/bpf.h | 58 +-
sys/net/if.c | 8 +-
sys/net/if_arcsubr.c | 10 +-
sys/net/if_ether.h | 6 +-
sys/net/if_ethersubr.c | 6 +-
sys/net/if_fddisubr.c | 6 +-
sys/net/if_ieee1394subr.c | 10 +-
sys/net/if_ieee80211.h | 137 ++-
sys/net/if_ieee80211subr.c | 1296 ++++++++++++++++------------
sys/net/if_loop.c | 6 +-
sys/net/if_media.c | 6 +-
sys/net/if_media.h | 4 +-
sys/net/if_ppp.c | 4 +-
sys/net/if_pppvar.h | 48 +-
sys/net/if_sl.c | 6 +-
sys/net/if_spppsubr.c | 402 ++++----
sys/net/if_stf.c | 32 +-
sys/net/if_strip.c | 28 +-
sys/net/if_tun.c | 20 +-
sys/net/ppp-comp.h | 48 +-
sys/net/ppp-deflate.c | 50 +-
sys/net/ppp_defs.h | 48 +-
sys/net/ppp_tty.c | 16 +-
sys/netccitt/llc_output.c | 6 +-
sys/netccitt/pk.h | 4 +-
sys/netinet/fil.c | 35 +-
sys/netinet/if_atm.c | 8 +-
sys/netinet/in.c | 8 +-
sys/netinet/in_gif.c | 6 +-
sys/netinet/in_proto.c | 6 +-
sys/netinet/ip_auth.c | 13 +-
sys/netinet/ip_compat.h | 19 +-
sys/netinet/ip_fil.c | 78 +-
sys/netinet/ip_fil.h | 9 +-
sys/netinet/ip_frag.c | 33 +-
sys/netinet/ip_frag.h | 8 +-
sys/netinet/ip_ftp_pxy.c | 196 +++-
sys/netinet/ip_gre.c | 12 +-
sys/netinet/ip_h323_pxy.c | 44 +-
sys/netinet/ip_icmp.c | 6 +-
sys/netinet/ip_input.c | 15 +-
sys/netinet/ip_log.c | 12 +-
sys/netinet/ip_nat.c | 89 +-
sys/netinet/ip_nat.h | 5 +-
sys/netinet/ip_netbios_pxy.c | 10 +-
sys/netinet/ip_output.c | 10 +-
sys/netinet/ip_proxy.c | 115 ++-
sys/netinet/ip_proxy.h | 6 +-
sys/netinet/ip_state.c | 38 +-
sys/netinet/ip_state.h | 7 +-
sys/netinet/ip_var.h | 4 +-
sys/netinet/ipl.h | 6 +-
sys/netinet/tcp_input.c | 24 +-
sys/netinet/tcp_output.c | 9 +-
sys/netinet/tcp_subr.c | 13 +-
sys/netinet6/ah.h | 10 +-
sys/netinet6/ah_core.c | 80 +-
sys/netinet6/ah_input.c | 14 +-
sys/netinet6/ah_output.c | 18 +-
sys/netinet6/esp_core.c | 18 +-
sys/netinet6/esp_input.c | 14 +-
sys/netinet6/esp_output.c | 6 +-
sys/netinet6/esp_rijndael.c | 8 +-
sys/netinet6/frag6.c | 10 +-
sys/netinet6/icmp6.c | 50 +-
sys/netinet6/in6.c | 163 +-
sys/netinet6/in6_cksum.c | 8 +-
sys/netinet6/in6_gif.c | 6 +-
sys/netinet6/in6_ifattach.c | 25 +-
sys/netinet6/in6_pcb.c | 44 +-
sys/netinet6/in6_src.c | 44 +-
sys/netinet6/ip6_forward.c | 21 +-
sys/netinet6/ip6_input.c | 26 +-
sys/netinet6/ip6_mroute.c | 33 +-
sys/netinet6/ip6_output.c | 112 +-
sys/netinet6/ip6_var.h | 4 +-
sys/netinet6/ipcomp_input.c | 6 +-
sys/netinet6/ipsec.c | 112 +-
sys/netinet6/ipsec.h | 4 +-
sys/netinet6/nd6.c | 79 +-
sys/netinet6/nd6_nbr.c | 5 +-
sys/netinet6/nd6_rtr.c | 56 +-
sys/netinet6/pim6_var.h | 4 +-
sys/netinet6/raw_ip6.c | 14 +-
sys/netinet6/route6.c | 22 +-
sys/netinet6/udp6_output.c | 6 +-
sys/netinet6/udp6_usrreq.c | 14 +-
sys/netisdn/i4b_ctl.c | 11 +-
sys/netisdn/i4b_i4bdrv.c | 11 +-
sys/netisdn/i4b_l2fsm.c | 10 +-
sys/netisdn/i4b_l2if.c | 20 +-
sys/netisdn/i4b_l3fsm.c | 10 +-
sys/netisdn/i4b_l4mgmt.c | 6 +-
sys/netisdn/i4b_q931.c | 6 +-
sys/netisdn/i4b_rbch.c | 11 +-
sys/netisdn/i4b_tel.c | 10 +-
sys/netisdn/i4b_trace.c | 11 +-
sys/netkey/key.c | 112 +-
sys/netkey/key_debug.c | 36 +-
sys/netkey/key_var.h | 10 +-
sys/netkey/keydb.h | 4 +-
sys/netkey/keysock.c | 14 +-
sys/netns/ns_ip.c | 6 +-
sys/netns/spp_usrreq.c | 6 +-
sys/netsmb/smb_dev.c | 16 +-
sys/netsmb/subr_mchain.c | 4 +-
sys/nfs/krpc_subr.c | 6 +-
sys/nfs/nfs_bootparam.c | 6 +-
sys/nfs/nfs_node.c | 7 +-
sys/nfs/nfs_serv.c | 12 +-
sys/nfs/nfs_socket.c | 6 +-
sys/nfs/nfs_syscalls.c | 8 +-
sys/nfs/nfs_vfsops.c | 29 +-
sys/nfs/nfsmount.h | 9 +-
sys/ntfs/ntfs_subr.c | 12 +-
sys/ntfs/ntfs_vfsops.c | 19 +-
sys/ntfs/ntfsmount.h | 5 +-
sys/sys/Makefile | 6 +-
sys/sys/ataio.h | 4 +-
sys/sys/clist.h | 52 -
sys/sys/conf.h | 602 +-----------
sys/sys/device.h | 62 +-
sys/sys/disk.h | 7 +-
sys/sys/disklabel.h | 16 +-
sys/sys/disklabel_mbr.h | 3 +-
sys/sys/event.h | 3 +-
sys/sys/lkm.h | 40 +-
sys/sys/map.h | 86 -
sys/sys/mount.h | 4 +-
sys/sys/param.h | 4 +-
sys/sys/proc.h | 18 +-
sys/sys/syscall.h | 4 +-
sys/sys/syscallargs.h | 4 +-
sys/sys/systm.h | 15 +-
sys/ufs/ext2fs/ext2fs_alloc.c | 8 +-
sys/ufs/ext2fs/ext2fs_balloc.c | 98 +--
sys/ufs/ext2fs/ext2fs_extern.h | 4 +-
sys/ufs/ext2fs/ext2fs_inode.c | 6 +-
sys/ufs/ext2fs/ext2fs_lookup.c | 6 +-
sys/ufs/ext2fs/ext2fs_readwrite.c | 8 +-
sys/ufs/ext2fs/ext2fs_vfsops.c | 16 +-
sys/ufs/ext2fs/ext2fs_vnops.c | 5 +-
sys/ufs/ffs/ffs_alloc.c | 10 +-
sys/ufs/ffs/ffs_appleufs.c | 155 +++
sys/ufs/ffs/ffs_extern.h | 8 +-
sys/ufs/ffs/ffs_inode.c | 6 +-
sys/ufs/ffs/ffs_softdep.c | 6 +-
sys/ufs/ffs/ffs_vfsops.c | 92 +-
sys/ufs/ffs/fs.h | 24 +-
sys/ufs/files.ufs | 5 +-
sys/ufs/lfs/lfs_inode.c | 6 +-
sys/ufs/lfs/lfs_segment.c | 11 +-
sys/ufs/lfs/lfs_vfsops.c | 19 +-
sys/ufs/lfs/lfs_vnops.c | 7 +-
sys/ufs/mfs/mfs_vfsops.c | 26 +-
sys/ufs/mfs/mfs_vnops.c | 5 +-
sys/ufs/ufs/dinode.h | 8 +-
sys/ufs/ufs/dir.h | 3 +-
sys/ufs/ufs/ufs_lookup.c | 52 +-
sys/ufs/ufs/ufs_vnops.c | 25 +-
sys/ufs/ufs/ufsmount.h | 14 +-
sys/uvm/uvm.h | 6 +-
sys/uvm/uvm_amap.c | 53 +-
sys/uvm/uvm_amap.h | 4 +-
sys/uvm/uvm_anon.c | 9 +-
sys/uvm/uvm_bio.c | 6 +-
sys/uvm/uvm_device.c | 22 +-
sys/uvm/uvm_extern.h | 5 +-
sys/uvm/uvm_glue.c | 53 +-
sys/uvm/uvm_km.c | 13 +-
sys/uvm/uvm_map.c | 89 +-
sys/uvm/uvm_map.h | 3 +-
sys/uvm/uvm_map_i.h | 32 +-
sys/uvm/uvm_mmap.c | 8 +-
sys/uvm/uvm_page.c | 8 +-
sys/uvm/uvm_pager.c | 7 +-
sys/uvm/uvm_pmap.h | 3 +-
sys/uvm/uvm_swap.c | 29 +-
sys/uvm/uvm_vnode.c | 26 +-
705 files changed, 18561 insertions(+), 7490 deletions(-)
diffs (truncated from 52293 to 300 lines):
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/gentbi.c
--- a/sys/dev/mii/gentbi.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/gentbi.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gentbi.c,v 1.2.2.6 2002/09/06 08:44:59 jdolecek Exp $ */
+/* $NetBSD: gentbi.c,v 1.2.2.7 2002/10/10 18:40:07 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gentbi.c,v 1.2.2.6 2002/09/06 08:44:59 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gentbi.c,v 1.2.2.7 2002/10/10 18:40:07 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -93,10 +93,8 @@
int gentbimatch(struct device *, struct cfdata *, void *);
void gentbiattach(struct device *, struct device *, void *);
-struct cfattach gentbi_ca = {
- sizeof(struct mii_softc), gentbimatch, gentbiattach,
- mii_phy_detach, mii_phy_activate
-};
+CFATTACH_DECL(gentbi, sizeof(struct mii_softc),
+ gentbimatch, gentbiattach, mii_phy_detach, mii_phy_activate);
int gentbi_service(struct mii_softc *, struct mii_data *, int);
void gentbi_status(struct mii_softc *);
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/glxtphy.c
--- a/sys/dev/mii/glxtphy.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/glxtphy.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: glxtphy.c,v 1.1.2.6 2002/09/06 08:44:59 jdolecek Exp $ */
+/* $NetBSD: glxtphy.c,v 1.1.2.7 2002/10/10 18:40:07 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: glxtphy.c,v 1.1.2.6 2002/09/06 08:44:59 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: glxtphy.c,v 1.1.2.7 2002/10/10 18:40:07 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -92,10 +92,8 @@
int glxtphymatch(struct device *, struct cfdata *, void *);
void glxtphyattach(struct device *, struct device *, void *);
-struct cfattach glxtphy_ca = {
- sizeof(struct mii_softc), glxtphymatch, glxtphyattach,
- mii_phy_detach, mii_phy_activate
-};
+CFATTACH_DECL(glxtphy, sizeof(struct mii_softc),
+ glxtphymatch, glxtphyattach, mii_phy_detach, mii_phy_activate);
int glxtphy_service(struct mii_softc *, struct mii_data *, int);
void glxtphy_status(struct mii_softc *);
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/gphyter.c
--- a/sys/dev/mii/gphyter.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/gphyter.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gphyter.c,v 1.4.2.4 2002/09/06 08:45:00 jdolecek Exp $ */
+/* $NetBSD: gphyter.c,v 1.4.2.5 2002/10/10 18:40:07 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.4.2.4 2002/09/06 08:45:00 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.4.2.5 2002/10/10 18:40:07 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -96,10 +96,8 @@
int gphytermatch(struct device *, struct cfdata *, void *);
void gphyterattach(struct device *, struct device *, void *);
-struct cfattach gphyter_ca = {
- sizeof(struct mii_softc), gphytermatch, gphyterattach,
- mii_phy_detach, mii_phy_activate
-};
+CFATTACH_DECL(gphyter, sizeof(struct mii_softc),
+ gphytermatch, gphyterattach, mii_phy_detach, mii_phy_activate);
int gphyter_service(struct mii_softc *, struct mii_data *, int);
void gphyter_status(struct mii_softc *);
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/icsphy.c
--- a/sys/dev/mii/icsphy.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/icsphy.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: icsphy.c,v 1.22.2.5 2002/09/06 08:45:00 jdolecek Exp $ */
+/* $NetBSD: icsphy.c,v 1.22.2.6 2002/10/10 18:40:07 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icsphy.c,v 1.22.2.5 2002/09/06 08:45:00 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icsphy.c,v 1.22.2.6 2002/10/10 18:40:07 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -92,10 +92,8 @@
int icsphymatch(struct device *, struct cfdata *, void *);
void icsphyattach(struct device *, struct device *, void *);
-struct cfattach icsphy_ca = {
- sizeof(struct mii_softc), icsphymatch, icsphyattach, mii_phy_detach,
- mii_phy_activate
-};
+CFATTACH_DECL(icsphy, sizeof(struct mii_softc),
+ icsphymatch, icsphyattach, mii_phy_detach, mii_phy_activate);
int icsphy_service(struct mii_softc *, struct mii_data *, int);
void icsphy_status(struct mii_softc *);
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/inphy.c
--- a/sys/dev/mii/inphy.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/inphy.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inphy.c,v 1.23.2.5 2002/09/06 08:45:00 jdolecek Exp $ */
+/* $NetBSD: inphy.c,v 1.23.2.6 2002/10/10 18:40:08 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: inphy.c,v 1.23.2.5 2002/09/06 08:45:00 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: inphy.c,v 1.23.2.6 2002/10/10 18:40:08 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -93,10 +93,8 @@
int inphymatch(struct device *, struct cfdata *, void *);
void inphyattach(struct device *, struct device *, void *);
-struct cfattach inphy_ca = {
- sizeof(struct mii_softc), inphymatch, inphyattach, mii_phy_detach,
- mii_phy_activate
-};
+CFATTACH_DECL(inphy, sizeof(struct mii_softc),
+ inphymatch, inphyattach, mii_phy_detach, mii_phy_activate);
int inphy_service(struct mii_softc *, struct mii_data *, int);
void inphy_status(struct mii_softc *);
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/iophy.c
--- a/sys/dev/mii/iophy.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/iophy.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iophy.c,v 1.13.2.4 2002/09/06 08:45:01 jdolecek Exp $ */
+/* $NetBSD: iophy.c,v 1.13.2.5 2002/10/10 18:40:08 jdolecek Exp $ */
/*
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iophy.c,v 1.13.2.4 2002/09/06 08:45:01 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iophy.c,v 1.13.2.5 2002/10/10 18:40:08 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -91,10 +91,8 @@
int iophymatch(struct device *, struct cfdata *, void *);
void iophyattach(struct device *, struct device *, void *);
-struct cfattach iophy_ca = {
- sizeof(struct mii_softc), iophymatch, iophyattach, mii_phy_detach,
- mii_phy_activate
-};
+CFATTACH_DECL(iophy, sizeof(struct mii_softc),
+ iophymatch, iophyattach, mii_phy_detach, mii_phy_activate);
int iophy_service(struct mii_softc *, struct mii_data *, int);
void iophy_status(struct mii_softc *);
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/lxtphy.c
--- a/sys/dev/mii/lxtphy.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/lxtphy.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lxtphy.c,v 1.24.2.4 2002/09/06 08:45:01 jdolecek Exp $ */
+/* $NetBSD: lxtphy.c,v 1.24.2.5 2002/10/10 18:40:08 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lxtphy.c,v 1.24.2.4 2002/09/06 08:45:01 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lxtphy.c,v 1.24.2.5 2002/10/10 18:40:08 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -93,10 +93,8 @@
int lxtphymatch(struct device *, struct cfdata *, void *);
void lxtphyattach(struct device *, struct device *, void *);
-struct cfattach lxtphy_ca = {
- sizeof(struct mii_softc), lxtphymatch, lxtphyattach, mii_phy_detach,
- mii_phy_activate
-};
+CFATTACH_DECL(lxtphy, sizeof(struct mii_softc),
+ lxtphymatch, lxtphyattach, mii_phy_detach, mii_phy_activate);
int lxtphy_service(struct mii_softc *, struct mii_data *, int);
void lxtphy_status(struct mii_softc *);
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/makphy.c
--- a/sys/dev/mii/makphy.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/makphy.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makphy.c,v 1.2.2.7 2002/09/06 08:45:01 jdolecek Exp $ */
+/* $NetBSD: makphy.c,v 1.2.2.8 2002/10/10 18:40:09 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.2.2.7 2002/09/06 08:45:01 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.2.2.8 2002/10/10 18:40:09 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -92,10 +92,8 @@
int makphymatch(struct device *, struct cfdata *, void *);
void makphyattach(struct device *, struct device *, void *);
-struct cfattach makphy_ca = {
- sizeof(struct mii_softc), makphymatch, makphyattach,
- mii_phy_detach, mii_phy_activate
-};
+CFATTACH_DECL(makphy, sizeof(struct mii_softc),
+ makphymatch, makphyattach, mii_phy_detach, mii_phy_activate);
int makphy_service(struct mii_softc *, struct mii_data *, int);
void makphy_status(struct mii_softc *);
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/mii.c
--- a/sys/dev/mii/mii.c Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/mii.c Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mii.c,v 1.26.2.3 2002/06/23 17:47:24 jdolecek Exp $ */
+/* $NetBSD: mii.c,v 1.26.2.4 2002/10/10 18:40:09 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mii.c,v 1.26.2.3 2002/06/23 17:47:24 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mii.c,v 1.26.2.4 2002/10/10 18:40:09 jdolecek Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -181,7 +181,7 @@
case DVACT_DEACTIVATE:
if (config_deactivate(&child->mii_dev) != 0)
- panic("%s: config_activate(%d) failed\n",
+ panic("%s: config_activate(%d) failed",
child->mii_dev.dv_xname, act);
}
}
@@ -237,7 +237,7 @@
cf->cf_loc[MIICF_PHY] != MIICF_PHY_DEFAULT)
return (0);
- return ((*cf->cf_attach->ca_match)(parent, cf, aux));
+ return (config_match(parent, cf, aux));
}
/*
diff -r 89e33a9df042 -r 23f8721e4374 sys/dev/mii/miivar.h
--- a/sys/dev/mii/miivar.h Thu Oct 10 18:30:06 2002 +0000
+++ b/sys/dev/mii/miivar.h Thu Oct 10 18:40:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: miivar.h,v 1.27.2.3 2002/06/23 17:47:25 jdolecek Exp $ */
+/* $NetBSD: miivar.h,v 1.27.2.4 2002/10/10 18:40:09 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
#include <sys/callout.h>
/*
- * Media Independent Interface datat structure defintions.
+ * Media Independent Interface datat structure definitions.
*/
Home |
Main Index |
Thread Index |
Old Index