<commit_before><?xml version="1.0" encoding="UTF-8"?>
<database xmlns="http://nouveau.freedesktop.org/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<import file="copyright.xml"/>

<import file="nvchipsets.xml" />

<domain name="NV_MMIO" bare="yes" prefix="chipset">

<bitset name="nv01_straps" inline="yes">
	<bitfield low="0" high="1" name="FB_TYPE">
		<value value="0" name="VRAM"/>
		<value value="3" name="DRAM"/>
	</bitfield>
	<bitfield low="2" high="3" name="BOARD_TYPE">
		<value value="0" name="MOTHERBOARD"/>
		<value value="1" name="ADAPTER_1"/>
		<value value="2" name="ADAPTER_2"/>
		<value value="3" name="ADAPTER_3"/>
	</bitfield>
	<bitfield pos="4" name="BUS_TYPE">
		<value value="0" name="PCI"/>
		<value value="1" name="VL"/>
	</bitfield>
</bitset>

<bitset name="nv03_straps" inline="yes">
	<bitfield pos="0" name="PCI_66MHZ"/>
	<bitfield pos="1" name="PCI_SUB_BIOS"/>
	<bitfield low="2" high="3" name="RAMCFG" variants="NV03:NV03T"/>
	<bitfield pos="2" name="RAMCFG" variants="NV03T:NV04" type="hex"/>
	<bitfield pos="3" name="PM_CAP" variants="NV03T:NV04"/>
	<bitfield pos="4" name="RAM_WIDTH">
		<value value="0" name="64"/>
		<value value="1" name="128"/>
	</bitfield>
	<bitfield pos="5" name="BUS_TYPE">
		<value value="0" name="PCI"/>
		<value value="1" name="AGP"/>
	</bitfield>
	<bitfield pos="6" name="CRYSTAL">
		<value value="0" name="13D5MHZ"/>
		<value value="1" name="14D31818MHZ"/>
	</bitfield>
	<bitfield low="7" high="8" name="TV_MODE">
		<value value="0" name="NONE"/>
		<value value="1" name="NTSC"/>
		<value value="2" name="PAL"/>
	</bitfield>
	<bitfield pos="9" name="PCI21" variants="NV03:NV03T"/>
	<bitfield pos="9" name="AGPX2" variants="NV03T:NV04"/>
</bitset>

<bitset name="nv04_straps" inline="yes">
	<bitfield pos="0" name="PCI_AD" variants="NV04:NV40 NV40 NV45 NV4A">
		<value value="0" name="REVERSED"/>
		<value value="1" name="NORMAL"/>
	</bitfield>
	<bitfield pos="1" name="PCI_SUB_BIOS"/>
	<bitfield low="2" high="5" name="RAMCFG"/>
	<bitfield pos="6" name="CRYSTAL_0" type="hex"/>
	<bitfield low="7" high="8" name="TV_MODE">
		<value value="0" name="SECAM"/>
		<value value="1" name="NTSC"/>
		<value value="2" name="PAL"/>
		<value value="3" name="NONE"/>
	</bitfield>
	<bitfield pos="9" name="AGP4X_DISABLED" variants="NV04:NV40 NV40 NV45 NV4A"/>
	<bitfield pos="10" name="AGP_SBA_DISABLED" variants="NV04:NV40 NV40 NV45 NV4A"/>
	<bitfield pos="11" name="AGP_FASTWR_DISABLED" variants="NV04:NV40 NV40 NV45 NV4A"/>
	<bitfield low="12" high="13" name="DEVID_0_1"/>
	<bitfield pos="14" name="BUS_TYPE">
		<value value="0" name="PCI"/>
		<value value="1" name="AGP"/>
	</bitfield>
	<bitfield pos="15" name="FP_WIDTH">
		<value value="0" name="12"/>
		<value value="1" name="24"/>
	</bitfield>
	<bitfield low="16" high="17" name="BAR1_SIZE" variants="NV20:NV25">
		<value value="0" name="64MB"/>
		<value value="1" name="128MB"/>
		<value value="2" name="256MB"/>
		<value value="3" name="512MB"/>
	</bitfield>
	<bitfield pos="18" name="BAR0_SIZE" variants="NV20:NV25">
		<value value="0" name="16MB"/>
		<value value="1" name="128MB"/>
	</bitfield>
	<bitfield low="16" high="19" name="FP_CONFIG" variants="NV17:NV20 NV25-"/>
	<bitfield low="20" high="21" name="DEVID_2_3" variants="NV17:NV20 NV25-"/>
	<bitfield pos="22" name="CRYSTAL_1" type="hex" variants="NV17:NV20 NV25-"/>
	<bitfield low="23" high="24" name="BAR1_SIZE" variants="NV17:NV20 NV25-">
		<value value="0" name="64MB"/>
		<value value="1" name="128MB"/>
		<value value="2" name="256MB"/>
		<value value="3" name="512MB"/>
	</bitfield>
	<bitfield pos="25" name="BAR0_SIZE" variants="NV17:NV20 NV25-">
		<value value="0" name="16MB"/>
		<value value="1" name="128MB"/>
	</bitfield>
	<bitfield low="29" high="30" name="ROM_TYPE" variants="NV17:NV20 NV25-">
		<value value="0" name="PARALLEL"/>
		<value value="1" name="SPI"/>
		<value value="2" name="UNK2"/>
	</bitfield>
</bitset>

<bitset name="nv17_straps1" inline="yes">
	<bitfield pos="0" name="FIREWIRE" variants="NV18:NV20"/>
	<bitfield pos="4" name="PCI_CLASS">
		<value value="0" name="3D_CONTROLLER"/>
		<value value="1" name="VGA_CONTROLLER"/>
	</bitfield>
</bitset>

<bitset name="nv50_straps0" inline="yes">
	<bitfield pos="1" name="PCI_SUB_BIOS"/>
	<bitfield low="2" high="5" name="RAMCFG"/>
	<bitfield pos="6" name="CRYSTAL" type="hex"/>
	<bitfield low="10" high="13" name="DEVICE_ID_0_3"/>
	<bitfield low="14" high="15" name="BAR1_SIZE">
		<value value="0" name="64MB"/>
		<value value="1" name="128MB"/>
		<value value="2" name="256MB"/>
		<value value="3" name="512MB"/>
	</bitfield>
	<bitfield low="23" high="23" name="ROM_TYPE">
		<value value="0" name="PARALLEL"/>
		<value value="1" name="SPI"/>
		<value value="2" name="UNK2"/><commit_msg>pstraps: fix an ebmarassing typo.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<database xmlns="http://nouveau.freedesktop.org/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<import file="copyright.xml"/>

<import file="nvchipsets.xml" />

<domain name="NV_MMIO" bare="yes" prefix="chipset">

<bitset name="nv01_straps" inline="yes">
	<bitfield low="0" high="1" name="FB_TYPE">
		<value value="0" name="VRAM"/>
		<value value="3" name="DRAM"/>
	</bitfield>
	<bitfield low="2" high="3" name="BOARD_TYPE">
		<value value="0" name="MOTHERBOARD"/>
		<value value="1" name="ADAPTER_1"/>
		<value value="2" name="ADAPTER_2"/>
		<value value="3" name="ADAPTER_3"/>
	</bitfield>
	<bitfield pos="4" name="BUS_TYPE">
		<value value="0" name="PCI"/>
		<value value="1" name="VL"/>
	</bitfield>
</bitset>

<bitset name="nv03_straps" inline="yes">
	<bitfield pos="0" name="PCI_66MHZ"/>
	<bitfield pos="1" name="PCI_SUB_BIOS"/>
	<bitfield low="2" high="3" name="RAMCFG" variants="NV03:NV03T"/>
	<bitfield pos="2" name="RAMCFG" variants="NV03T:NV04" type="hex"/>
	<bitfield pos="3" name="PM_CAP" variants="NV03T:NV04"/>
	<bitfield pos="4" name="RAM_WIDTH">
		<value value="0" name="64"/>
		<value value="1" name="128"/>
	</bitfield>
	<bitfield pos="5" name="BUS_TYPE">
		<value value="0" name="PCI"/>
		<value value="1" name="AGP"/>
	</bitfield>
	<bitfield pos="6" name="CRYSTAL">
		<value value="0" name="13D5MHZ"/>
		<value value="1" name="14D31818MHZ"/>
	</bitfield>
	<bitfield low="7" high="8" name="TV_MODE">
		<value value="0" name="NONE"/>
		<value value="1" name="NTSC"/>
		<value value="2" name="PAL"/>
	</bitfield>
	<bitfield pos="9" name="PCI21" variants="NV03:NV03T"/>
	<bitfield pos="9" name="AGPX2" variants="NV03T:NV04"/>
</bitset>

<bitset name="nv04_straps" inline="yes">
	<bitfield pos="0" name="PCI_AD" variants="NV04:NV40 NV40 NV45 NV4A">
		<value value="0" name="REVERSED"/>
		<value value="1" name="NORMAL"/>
	</bitfield>
	<bitfield pos="1" name="PCI_SUB_BIOS"/>
	<bitfield low="2" high="5" name="RAMCFG"/>
	<bitfield pos="6" name="CRYSTAL_0" type="hex"/>
	<bitfield low="7" high="8" name="TV_MODE">
		<value value="0" name="SECAM"/>
		<value value="1" name="NTSC"/>
		<value value="2" name="PAL"/>
		<value value="3" name="NONE"/>
	</bitfield>
	<bitfield pos="9" name="AGP4X_DISABLED" variants="NV04:NV40 NV40 NV45 NV4A"/>
	<bitfield pos="10" name="AGP_SBA_DISABLED" variants="NV04:NV40 NV40 NV45 NV4A"/>
	<bitfield pos="11" name="AGP_FASTWR_DISABLED" variants="NV04:NV40 NV40 NV45 NV4A"/>
	<bitfield low="12" high="13" name="DEVID_0_1"/>
	<bitfield pos="14" name="BUS_TYPE">
		<value value="0" name="PCI"/>
		<value value="1" name="AGP"/>
	</bitfield>
	<bitfield pos="15" name="FP_WIDTH">
		<value value="0" name="12"/>
		<value value="1" name="24"/>
	</bitfield>
	<bitfield low="16" high="17" name="BAR1_SIZE" variants="NV20:NV25">
		<value value="0" name="64MB"/>
		<value value="1" name="128MB"/>
		<value value="2" name="256MB"/>
		<value value="3" name="512MB"/>
	</bitfield>
	<bitfield pos="18" name="BAR0_SIZE" variants="NV20:NV25">
		<value value="0" name="16MB"/>
		<value value="1" name="128MB"/>
	</bitfield>
	<bitfield low="16" high="19" name="FP_CONFIG" variants="NV17:NV20 NV25-"/>
	<bitfield low="20" high="21" name="DEVID_2_3" variants="NV17:NV20 NV25-"/>
	<bitfield pos="22" name="CRYSTAL_1" type="hex" variants="NV17:NV20 NV25-"/>
	<bitfield low="23" high="24" name="BAR1_SIZE" variants="NV17:NV20 NV25-">
		<value value="0" name="64MB"/>
		<value value="1" name="128MB"/>
		<value value="2" name="256MB"/>
		<value value="3" name="512MB"/>
	</bitfield>
	<bitfield pos="25" name="BAR0_SIZE" variants="NV17:NV20 NV25-">
		<value value="0" name="16MB"/>
		<value value="1" name="128MB"/>
	</bitfield>
	<bitfield low="29" high="30" name="ROM_TYPE" variants="NV17:NV20 NV25-">
		<value value="0" name="PARALLEL"/>
		<value value="1" name="SPI"/>
		<value value="2" name="UNK2"/>
	</bitfield>
</bitset>

<bitset name="nv17_straps1" inline="yes">
	<bitfield pos="0" name="FIREWIRE" variants="NV18:NV20"/>
	<bitfield pos="4" name="PCI_CLASS">
		<value value="0" name="3D_CONTROLLER"/>
		<value value="1" name="VGA_CONTROLLER"/>
	</bitfield>
</bitset>

<bitset name="nv50_straps0" inline="yes">
	<bitfield pos="1" name="PCI_SUB_BIOS"/>
	<bitfield low="2" high="5" name="RAMCFG"/>
	<bitfield pos="6" name="CRYSTAL" type="hex"/>
	<bitfield low="10" high="13" name="DEVICE_ID_0_3"/>
	<bitfield low="14" high="15" name="BAR1_SIZE">
		<value value="0" name="64MB"/>
		<value value="1" name="128MB"/>
		<value value="2" name="256MB"/>
		<value value="3" name="512MB"/>
	</bitfield>
	<bitfield low="22" high="23" name="ROM_TYPE">
		<value value="0" name="PARALLEL"/>
		<value value="1" name="SPI"/>
		<value value="2" name="UNK2"/>
{'fraction_non_alphanumeric': 0.23432959734329598, 'fraction_numerical': 0.0713989207139892, 'mean_word_length': 6.044590643274854, 'pattern_counts': {'":': 0, '<': 251, '<?xml version=': 2, '>': 251, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1638368', 'n_tokens_mistral': 4360, 'n_tokens_neox': 3950, 'n_words': 773}